Krieg die Krise: Apache2 mit SSL auf Windows

Alles, was den Apache betrifft, kann hier besprochen werden.

Krieg die Krise: Apache2 mit SSL auf Windows

Postby thuhn01 » 30. October 2006 18:56

Hallo, vielleicht könnt ihr mir weiterhelfen. Bei der Suche habe ichs chon vieles gefunden, aber nichts hat geholfen.

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>
eingebunden wird.



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
thuhn01
 
Posts: 1
Joined: 15. May 2006 23:33

Return to Apache

Who is online

Users browsing this forum: No registered users and 39 guests