starting SSL
guys referring to this article:
******************************************************
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 backed to :
root@darkstar:/usr/sbin# /usr/sbin/apachectl start
/usr/sbin/apachectl start: httpd started
***************************************
what do you think is the problem?
|