-
starting SSL
guys referring to this article: (btw m using apache 1.3.34)
************************************************** ****
Apache + SSL Howto
Written by SiegeX - 2004-09-07 07:02
If you ever do online banking and notice all the URL's start with https:// and have a lockpad symbol on the browser, well thats SSL.
In order to tell Apache to include SSL support we need to edit the /etc/apache/httpd.conf file and scroll ALL the way to the bottom. This is where we will uncomment the following line.
change this:
#Include /etc/apache/mod_ssl.conf
to this:
Include /etc/apache/mod_ssl.conf
Once that is done you need to make a simple edit to the /etc/rc.d/rc.httpd file so that the apache server knows you want to startup with SSL support.
change this:
'start')
/usr/sbin/apachectl start ;;
to this:
'start')
/usr/sbin/apachectl startssl ;;
************************************************** ************
so after following the instructions (uncommenting the mod_ssl.conf in httpd.conf,) here is what i did next;
since my httpd is running, i stopped it first:
/usr/sbin/apachectl stop: httpd stopped
then, i started it using startssl:
root@darkstar:/usr/sbin# /usr/sbin/apachectl startssl
but here was the error:
/usr/sbin/apachectl startssl: httpd could not be started
so i just turned it back to :
root@darkstar:/usr/sbin# /usr/sbin/apachectl start
/usr/sbin/apachectl start: httpd started
***************************************
what do you think is the problem?
-
Have you checked the apache logs -- some clues might be there. Did you create the certificates, keys, etc...? I've done it only a couple times and remember it being a bit of a pain...
-
i haven't because it was NOT stated on the article that to be able to start ssl i REALLY need to create certificates.. i think I just have to upgrade my mod_ssl to 1.3.34 also