Thread: Configuring SSL
View Single Post
  #1  
Old 30th October 2012, 05:13
pebkac pebkac is offline
Senior Member
 
Join Date: Feb 2009
Posts: 132
Thanks: 2
Thanked 7 Times in 7 Posts
Question Configuring SSL

Hey all,

I've decided to use SSL on one of my servers. It was already running and hosting the site on Perfect Ubuntu 12.04 ISPConfig server. I followed this tutorial http://www.howtoforge.com/securing-y...-from-startssl
to get SSL. As far as that tutorial goes it does not make clear any other setting that need to be done from within ISPConfig. I did check the SSL box on the site and added an IP to the server and made sure it is being used. When I try and go to the site with SSL I get this in the apache error.log
Code:
[Tue Oct 30 04:01:08 2012] [error] [client 96.229.205.165] client denied by server configuration: /etc/apache2/htdocs
I followed the tutorial to a tee and did not do anything on the SSL tab within ISPConfig.

Code:
root@dor:/etc/apache2# grep -Ri SSLCertificateFile *
sites-available/ispconfig.vhost~:  SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
sites-available/default-ssl:	#   SSLCertificateFile directive is needed.
sites-available/default-ssl:	SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
sites-available/default-ssl:	#   the referenced file can be the same as SSLCertificateFile
sites-available/ispconfig.vhost:  SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
sites-enabled/000-ispconfig.vhost:  SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
root@dor:/etc/apache2#
when I restart apache
Code:
root@dor:/etc/apache2# /etc/init.d/apache2 restart
 * Restarting web server apache2                                                                   [Tue Oct 30 04:11:58 2012] [warn] NameVirtualHost 184.169.151.252:443 has no VirtualHosts
[Tue Oct 30 04:11:58 2012] [warn] NameVirtualHost 10.166.185.147:80 has no VirtualHosts
[Tue Oct 30 04:11:58 2012] [warn] NameVirtualHost 10.166.185.147:443 has no VirtualHosts
 ... waiting [Tue Oct 30 04:11:59 2012] [warn] NameVirtualHost 184.169.151.252:443 has no VirtualHosts
[Tue Oct 30 04:11:59 2012] [warn] NameVirtualHost 10.166.185.147:80 has no VirtualHosts
[Tue Oct 30 04:11:59 2012] [warn] NameVirtualHost 10.166.185.147:443 has no VirtualHosts
                                                                                            [ OK ]
root@dor:/etc/apache2#
Reply With Quote
Sponsored Links