apache, proxypass, ssl

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

apache, proxypass, ssl

Postby splion » 19. August 2004 15:50

Hallo,

ich habe da ein Verständnisproblem.
Wenn ich einen ReverseProxy einrichte und ssl ebenfalls unterstütze,
funktioniert folgende Konfiguration

-----%<-------------------------------------
Code: Select all
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule ssl_module modules/mod_ssl.so

NameVirtualHost 192.168.1.98:443

ProxyRequests On
ProxyTimeOut 10

<VirtualHost 192.168.1.98:443>
   ServerName server2.dummy.dom
   SSLEngine on
   SSLProxyEngine on
   SSLCertificateFile D:/httptest/httpd/ssl/server2.crt
   SSLCertificateKeyFile D:/httptest/httpd/ssl/server2.key
   UseCanonicalName Off
   ServerAdmin admin@dummy.dom
   ErrorLog D:/httptest/httpd/logs/server2-error.log
   LogLevel warn
   LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
   LogFormat "%h %l %u %t \"%r\" %>s %b" common
   LogFormat "%{Referer}i -> %U" referer
   LogFormat "%{User-agent}i" agent
   CustomLog D:/httptest/httpd/logs/server2-access.log common
   
   <Proxy />
      ProxyPass https://ssl-server.dummy.dom:443/
      ProxyPassReverse https://ssl-server.dummy.dom:443/
   </Proxy>
</VirtualHost>

-----%<-------------------------------------

Was mich jetzt verwundert, ist die Tatsache, daß ich für den ReverseProxy-Server Zertifikate benötige. Wenn ich auf den Reverseproxy zugreife wird mir, wie das auch sein sollte, das Zertifikat des umgeleiteten Servers angeboten. Wozu benötige ich dann eigene Zertifikate ?

Oder gibt es eine Direktive die ich vergessen habe ?

Danke.

ciao Andreas
splion
 
Posts: 44
Joined: 19. August 2004 15:32

Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 99 guests