No matter what I try, I can't seem to get 'apachectl startssl' to work,
whereas 'apachectl start' works just fine. I have made sure every file I
refer to exists and same for directories. I have gone through many
messages in the mailing list, but couldn't find an answer.
I have therefore copied the relevant parts of my apache.conf file below.
As a background, I'm using apache-1.3.9+php+mod_ssl-1.3.9+3.0.12+2.4.2
and I don't plan to have a default htdocs directory, only virtual hosts
for which I have used 205.151.116.101 in the following example:
Listen 205.151.116.101:80
<IfDefine SSL>
LoadModule ssl_module libexec/apache/libssl.so
</IfDefine>
<IfDefine SSL>
AddModule mod_ssl.c
</IfDefine>
<IfDefine SSL>
#Listen 80
Listen 205.151.116.101:443
</IfDefine>
<VirtualHost 205.151.116.101:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "/groups/pcr/www"
ServerName pcr.ca
ErrorLog /var/log/pcr.ca-error_log
CustomLog /var/log/pcr.ca-access_log common
</VirtualHost>
<IfDefine SSL>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfDefine>
<IfModule mod_ssl.c>
SSLPassPhraseDialog builtin
SSLSessionCache dbm:/var/run/apache_ssl_scache
SSLSessionCacheTimeout 300
SSLMutex file:/var/run/apache_ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog /var/log/apache_ssl_engine_log
SSLLogLevel info
</IfModule>
<IfDefine SSL>
<VirtualHost 205.151.116.101:443>
DocumentRoot "/groups/pcr/www"
ServerName pcr.ca
ServerAdmin [EMAIL PROTECTED]
ErrorLog /var/log/apache_error_log
TransferLog /var/log/apache_access_log
SSLEngine on
SSLCertificateFile /usr/local/etc/apache/server.crt
SSLCertificateKeyFile /usr/local/etc/apache/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog /var/log/apache_ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]