Folgendes Szenario:
Ich habe einen Shop den ich mit SSL absichern möchte. Bisher lief alles auf Port 80 einwandfrei. Habe mir OpenSSL installiert, ein Test-Zertifikat angefertigt.
Soweit alles gut.
Wenn ich jetzt aber zum Test https://localhost eingebe springt der nicht in das hinterlegte Verzeichnis, sondern in das "normale" DocumentRoot des Port 80 Servers.
Hier meine ssl.conf die von der httpd.conf per
- Code: Select all
<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
- Code: Select all
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
<IfDefine SSL>
Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache dbm:logs/ssl_scache
SSLSessionCacheTimeout 300
SSLMutex default
<VirtualHost *:443>
DocumentRoot "C:/Programme/Apache Group/Apache2/ssl"
ServerName=localhost
ServerAdmin info@TEST.de
ErrorLog logs/443error_log
TransferLog logs/443access_log
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl/TEST.crt
SSLCertificateKeyFile conf/ssl/TEST.key
<FilesMatch "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "C:/Programme/Apache Group/Apache2/cgi">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>
(Bei TEST sind natürlich meine Daten drin)
Fällt euch irgendetwas auf?
Danke schon mal im vorraus