Apache and mod_ssl

After a gigantic long 4 hour battle with mod_ssl this morning I think I have conquered it. Took me a long time to get everything compiled and all working together, not to mention configured. There were some weird configuration gotchas but I think I got all working now. Woohoo!

cd apache_1.3.27 ./configure --prefix=/www cd ../php-4.2.3 ./configure --with-mysql --with-gdbm --with-zlib --enable-ftp --with-apache=../apache_1.3.27/ --with-openssl make make install cd ../mod_ssl-2.8.12-1.3.27 ./configure --with-apache=../apache_1.3.27 cd ../apache_1.3.27 SSL_BASE=/usr/local/ssl/ ./configure --enable-module=ssl --activate-module=src/modules/php4/libphp4.a --prefix=/www make make certificate TYPE=test rm -f /www/conf/ssl.csr/server.csr rm -f /www/conf/ssl.crt/server.crt rm -f /www/conf/ssl.key/server.key cp conf/ssl.key/server.key /www/conf/ssl.key/server.key cp conf/ssl.crt/server.crt /www/conf/ssl.crt/server.crt cp conf/ssl.csr/server.csr /www/conf/ssl.csr/server.csr /www/bin/apachectl startssl
Listen 80 Listen 443 SSLPassPhraseDialog builtin SSLSessionCache dbm:/www/logs/ssl_scache SSLSessionCacheTimeout 300 SSLMutex file:/www/logs/ssl_mutex SSLRandomSeed startup builtin SSLRandomSeed connect builtin SSLLog /www/logs/ssl_engine_log SSLLogLevel info <VirtualHost> DocumentRoot "/www/htdocs/internal" ServerName internal.web-ster.com ServerAdmin support@web-ster.com #ErrorLog /www/logs/error_log #TransferLog /www/logs/access_log SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /www/conf/ssl.crt/server.crt SSLCertificateKeyFile /www/conf/ssl.key/server.key </VirtualHost>

Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
Logged IP:
To prevent spam please submit by clicking the kitten: