magitek
asked on
Problems with https and Apache
I'm running Slackware Linux 10.1 with Apache as a web server. The system was originally configured with OpenSSL and ModSSL.
I'm trying to get a secure server running, (https), and have been unsucessful in getting it to work. What am I missing? I'd appreciate any help in getting this to work!
Here is a link to my complete httpd.conf file:
http://magiteck.milleniumcare.com/~jared/httpd.txt
Thanks in advance!!
Jared
I'm trying to get a secure server running, (https), and have been unsucessful in getting it to work. What am I missing? I'd appreciate any help in getting this to work!
Here is a link to my complete httpd.conf file:
http://magiteck.milleniumcare.com/~jared/httpd.txt
Thanks in advance!!
Jared
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I forgo any points. Close at your leisure.
ASKER
Sorry I forgot to close the question! Promethyl was right - I was not initalizing the program with SSL.
The instructions posted on how to start with SSL were not completely applicable to my Slackware system though. Here's what I did:
I had to edit the /etc/rc.d/rc.httpd file.
It originally showed:
case "$1" in
'start')
/usr/sbin/apachectl start;;
'stop')
/usr/sbin/apachectl stop ;;
'restart')
/usr/sbin/apachectl restart ;;
*)
echo "usage $0 start|stop|restart" ;;
esac
I had to modify it to show:
case "$1" in
'start')
/usr/sbin/apachectl startssl ;;
'stop')
/usr/sbin/apachectl stop ;;
'restart')
/usr/sbin/apachectl restart ;;
*)
echo "usage $0 start|stop|restart" ;;
esac
---
The program required: /usr/sbin/apachectl startssl as the command to load apache with ssl support. It had been loading with only: /usr/sbin/apachectl start
That's what caused my problem.
Just thought I'd post what worked in case anybody else looks at the question with a similar problem :)
The instructions posted on how to start with SSL were not completely applicable to my Slackware system though. Here's what I did:
I had to edit the /etc/rc.d/rc.httpd file.
It originally showed:
case "$1" in
'start')
/usr/sbin/apachectl start;;
'stop')
/usr/sbin/apachectl stop ;;
'restart')
/usr/sbin/apachectl restart ;;
*)
echo "usage $0 start|stop|restart" ;;
esac
I had to modify it to show:
case "$1" in
'start')
/usr/sbin/apachectl startssl ;;
'stop')
/usr/sbin/apachectl stop ;;
'restart')
/usr/sbin/apachectl restart ;;
*)
echo "usage $0 start|stop|restart" ;;
esac
---
The program required: /usr/sbin/apachectl startssl as the command to load apache with ssl support. It had been loading with only: /usr/sbin/apachectl start
That's what caused my problem.
Just thought I'd post what worked in case anybody else looks at the question with a similar problem :)
There's a similar question to yours. Browse through it and see what applies to you case.
https://www.experts-exchange.com/questions/21379515/how-do-I-make-ssl-stuff-work-on-apache-2-0.html
Hope this helps.