Well i installed ssl using this tutorial here:
http://ffa.net.nz/ssl.txt
when i start the server, it all starts ok but the ssl doesnt seem to be working. When you use ssl do you use 2 web servers? because i think i have two install :/?
Printable View
Well i installed ssl using this tutorial here:
http://ffa.net.nz/ssl.txt
when i start the server, it all starts ok but the ssl doesnt seem to be working. When you use ssl do you use 2 web servers? because i think i have two install :/?
I'm missing the SSL Engine source here.Quote:
Originally Posted by dimega
You'll need that one too.
Be sure to downoad the latest version, cuz these are allready outdated.
8)
No, you don't need two servers, but you need to alter your config. It doesn't seem that HOWTO covers how to do that. That HOWTO also seems fairly out-of-date... PHP 4.0.4 must have been released a year ago.
You should look at the manual that comes with mod_ssl instead - it's much more thorough.
I think this is all I added to make my installation working:
Of course, you need to alter the paths to match your install.Code:Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache dbm:/var/www/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex file:/var/www/state/ssl_mutes
SSLRandomSeed startup file:/dev/random 512
SSLRandomSeed connect file:/dev/urandom 512
SSLLog /var/log/httpd/ssl_engine_log
SSLLogLevel info
<VirtualHost _default_:443>
DocumentRoot "/var/www/htdocs"
ServerName www.dolda2000.com
ServerAdmin fredrik@dolda2000.com
ErrorLog /var/log/httpd/ssl_error_log
TransferLog /var/log/httpd/ssl_access_log
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:!NULL:RC4+RSA:+HIGH:+MEDIUM:-LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/ssl.crt/apache.crt
SSLCertificateKeyFile /etc/httpd/ssl.key/apache.key
SSLCACertificatePath /etc/httpd/ssl.crt/clica
SSLCARevocationPath /etc/httpd/ssl.crl
SSLVerifyClient optional
SSLVerifyDepth 5
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
</VirtualHost>