![]() |
apache mod_ssl not using port 443
Slackware 10.1, apache 1.3.33
I have read the howtos and searched this site to get mod_ssl working. I run rc.httpd start or apachectl-mod-ssl start and the server starts but only listens to port 80. I am using the snake oil cert and key. Do I have to set up openssl in any way? The mod_ssl call in httpd.conf is uncommented. |
I know that with Apache 2.0, you need to set up a virtual host on SSL, as well. Just because the module is loaded doesn't mean the system is actually using it: if it isn't configured for any ssl servers, then it won't load it.
Here's an example of what I'm talking about: Code:
<VirtualHost _default_:443>Code:
Generate open SSL key:good luck. |
Tried the above and still nmap shows no listener on port 443. The listen 443 line is present in mod_ssl.
|
I tried tha sample httpd.conf from apache-ssl and got errors about SSLVerifyClient being unknown. Does anybody have the apache 1.3.33 and mod_ssl 2.8.22 -1.3.33 packages working?
|
I have them working pretty well, but I've compiled them from source. You didn't mention how did you installed apache and mod-ssl (i.e. from source or using Slackware installpkg). Anyway try:
Code:
/path/to/apache/bin/httpd -l |
Problem solved by removing apache 1.3.33 and installing the linuxpackages apache2 and php4-apache.
These also need t1lib to work. I suspect something wrong with the default 10.1 builds |
Did you edit you /etc/rc.d/rc.htpd from start to startssl?
|
Yes, I tried various methods of starting apache and when ssl was triggered the ssl_engine.log had several messages about stages of key setup.
|
Default slackware apache mod_ssl works fine, you are aware
that slackware is one of the most stable linux distribution to run servers aren't you ? Quote:
default slackware packages Quote:
Code:
Include /etc/apache/mod_ssl.conf |
| All times are GMT -5. The time now is 11:07 AM. |