Kernel_Killer
July 1st, 2004, 20:52
I installed the Apache13-modssl port, and for some reason I can't get the SSL to startup. When I add certain SSL commands in my httpd.conf, I get errors about them mis-spelled or from a module not added. For some reason the port doesn't spit out a mod_ssl.so but does a libssl.so. So I used that, but nothing. Here's what I've added:
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
<IfDefine HAVE_SSL>
LoadModule ssl_module libexec/apache/libssl.so
</IfDefine>
<IfDefine HAVE_SSL>
AddModule mod_ssl.c
</IfDefine>
<IfDefine SSL>
<Directory /usr/local/www/ns/school:443>
SSLEngine on
SSLCertificateFile /usr/local/etc/apache/conf/newCA/cacrt.crt
SSLCertificateKeyFile /usr/local/etc/apache/conf/newCA
</Directory>
The first thing it errors on is "SSLEngine on". I stopped it and restarted with apachectl startssl. It starts fine when the SSL lines are commented out.
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
<IfDefine HAVE_SSL>
LoadModule ssl_module libexec/apache/libssl.so
</IfDefine>
<IfDefine HAVE_SSL>
AddModule mod_ssl.c
</IfDefine>
<IfDefine SSL>
<Directory /usr/local/www/ns/school:443>
SSLEngine on
SSLCertificateFile /usr/local/etc/apache/conf/newCA/cacrt.crt
SSLCertificateKeyFile /usr/local/etc/apache/conf/newCA
</Directory>
The first thing it errors on is "SSLEngine on". I stopped it and restarted with apachectl startssl. It starts fine when the SSL lines are commented out.