Apache ProxyPass (https) ne fonctionne pas avec Tomcat (HTTP)
Bonjour,
j'ai un petit souci que je n'arrive pas a résoudre:
Comment faire que mon serveur apache décrypte les requettes ssl, les fassent suivre sur mon Tomcat sur une autre serveur et récupère la réponse pour renvoyer celle-ci crypté via ssl?
schéma:
https ====> ip publique de mon serveur apache =====> http ====> tomcat sur le port 8080
voici la config que j'ai maintenant et qui ne fonctionne pas???
Config Apache (2.4):
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <VirtualHost *:443>
ServerAdmin contact@toto.fr
ServerName toto.fr
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /to file/.certificate-authority/certs/toto.fr.crt
SSLCertificateKeyFile /to file/.certificate-authority/private/toto.fr.key
SSLCACertificateFile /to file/.certificate-authority/certs/toto.crt
# ProxyRequests off
ProxyPreservehost on
ProxyPass / http://192.168.0.1:8080/
<Proxy>
Order Allow,Deny
Allow from all
</Proxy>
</VirtualHost> |
Config Tomcat (7):
Code:
1 2
| <Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000" secure="ture"/> |
Merci pour votre aide.
Cordialement,
Vandman