Ich verwende XAMPP für Windows (Windows XP) mit den beiden AddOn's Perl und Tomcat.
Beides läuft super, allerdings bekomme ich die https-Verbindung von Tomcat auf Port 8443 nicht zum Laufen. Ich habe schon mehrere Informationen darüber im I-Net gefunden, aber funktioniert hat bis jetzt noch nichts.
Vielleicht habt Ihr ja noch einen Tipp....
Ich habe, wie hier (http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html) beschrieben, den Befehl
- Code: Select all
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
ausgeführt. Die .keystore-Datei wird auch erstellt.
Dann habe ich die server.xml. Datei angepaßt:
- Code: Select all
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
-->
<!--
<Connector
port="8443" minSpareThreads="5" maxSpareThreads="75"
enableLookups="true" disableUploadTimeout="true"
acceptCount="100" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="${user.home}/.keystore" keystorePass="changeit"
clientAuth="false" sslProtocol="TLS"/>
-->
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
keystoreFile="${user.home}/.keystore" keystorePass="changeit
clientAuth="false" sslProtocol="TLS" />
Trotzdem: Beim Aufruf der https-Seite kommt beim Firefox der Fehler:
- Code: Select all
Firefox kann keine Verbindung zu dem Server unter 192.168.2.2:8443 aufbauen.
Zugriff über :8080 läuft einwandfrei. Firewall schließe ich aus, die habe ich zum Test auch schon komplett deaktiviert.
Bei jeder Config-Änderung wurde sowohl Apache-Service als auch Tomcat-Service restartet.
Wo habe ich hier den Denkfehler?
Schon jetzt viele Dank für Eure Vorschläge!
LG
heo