Hallo,
ich habe einen Apache2 reverse Proxy installiert und mit der SSL Engine Konfiguriert. Nun habe ich das Problem wenn ich den Proxy mit https anspreche das er automatisch beim ersten Aufruf auf http umstellt.
Beispiel: Ich rufe den Proxyserver auf https://myproxyserver.com. Es kommt zum timeout und dann ist im Firefox ersichtlich, dass er auf http://myproxyserver.com gewechselt hat. Wenn ich dann wieder ein https draus mache funktioniert es.
Hier meine httpd.conf:
<VirtualHost myproxy:8443>
ServerName mydomainname.com
ProxyPreserveHost On
ProxyPass / http://mybackendsystem:50000/
ProxyPassReverse / http://mybackendsystem:50000/
ErrorLog logs/mybackendsystem.com-ssl_error_log
CustomLog logs/mybackendsystem.com-ssl_access_log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/mybackendsystem_com.crt
SSLCertificateKeyFile /etc/apache2/ssl/mybackendsystem.key
ErrorLog logs/myproxy.443.error.log
CustomLog logs/myproxy.443.custom.log common
<Proxy *>
Order deny,allow
#Deny from all
Allow from all
</Proxy>
</VirtualHost>
Die Verbindung zum Proxyserver soll Verschlüsselt sein. Die Kommunikation zwischen Proxy und Backendsystem ist unverschlüsselt. Dies sollte ja kein Problem darstellen. Hat jemand eine Idee wo das Problem liegt das er von HTTPS auf HTTP switched?
Vielen Dank für Eure Antworten.
LG
Tim