Configuring SSL on Apache2
I am somewhat new to SLES 9 and Apache2. I need to set up an https site on our SLES 9 server runing Apache2.
I have done alot of research on the problem I am having to no avail, so I am looking for help.
Apache2 is runing fine on our Server. I added a virtual host and it works fine. Now I need to make this site under https. Here is what I have done.
I made mod_ssl a loadable module for Apache2
In /etc/sysconfig/apache2 I added:
I created my private key with openssl
I created my certificate request with openssl
I then downloaded a free trial cert from Entrust
I set up my virutal host file:
ServerName [my domain name]:443
ServerAdmin [my email address]
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
CustomLog /var/log/apache2/ssl_request_log ssl_combined
When I run the command:
I get the following error message:
Starting httpd2 (prefork) [Wed Apr 05 21:26:39 2006] [warn] NameVirtualHost 192.168.97.40:0 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
I then executed the command to see what process was using port 443:
netstat -pan | grep ":443"
I get nothing back.
I am stumped. Can anyone help me or point me in the right direction?
Your help is greatly apprecitated.