Apache Reverse Proxy SSL to TOMCAT no SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all ,

 

I am trying to configure a reverse proxy apache with certificate and redirect to a tomcat without certificate.

The first question is to know if this is possible?

 

I am doing this configuration

 

 

<VirtualHost *:8084>

    ServerAdmin sistemas@xxxxxxxxx

    ServerName clientes.xxxxxx.com

    ServerAlias clientes.xxxxxl.com

    DocumentRoot /var/www/

    ErrorLog ${APACHE_LOG_DIR}/error.log

    CustomLog ${APACHE_LOG_DIR}/access.log combined

    ProxyPreserveHost On

        ProxyPass /dpisaas-web  http://192.168.10.50:8080/dpisaas-web

        ProxyPassReverse /dpisaas-web  http://192.168.10.50:8080/dpisaas-web

</VirtualHost>

 

 

<IfModule mod_ssl.c>

<VirtualHost *:8085>

    ServerAdmin sistemas@xxxxxxxxx

    ServerName clientes.xxxxxxx.com

    ServerAlias clientes.xxxxxxx.com

    SSLEngine on

    SSLProxyEngine On

    SSLCertificateFile /etc/ssl/xxxxxx.crt

    SSLCertificateKeyFile /etc/ssl/xxxxx.com.key

    SSLCertificateChainFile /etc/ssl/xxxxx-chain.crt

   DocumentRoot /var/www/

    ErrorLog ${APACHE_LOG_DIR}/error.log

    CustomLog ${APACHE_LOG_DIR}/access.log combined

    ProxyRequests On

    ProxyPreserveHost On

        ProxyPass /dpisaas-web  http://192.168.10.50:8080/dpisaas-web

        ProxyPassReverse /dpisaas-web http://192.168.10.50:8080/dpisaas-web

    ProxyPassReverseCookiePath /dpisaas-web /dpisaas-web

 

</VirtualHost>

</IfModule>

 

the first configuration (NO SSL) works correctly.

 

The second configuration (once the apache is configured to listen on port 8085 for SSL requests) does not give me an error, it recognizes the SSL certificate, but it leaves the screen blank, it does not load the TOMCAT app.

 

Have you had a similar situation? Something is missing in the configuration?

Many Thanks!!

 

 

 

 

 

   Saludos

 

 

La información contenida en esta comunicación está destinada únicamente al uso de la persona o entidad a la que va dirigida y a otras personas autorizadas a recibirla. Puede contener información confidencial o legalmente privilegiada. Si usted no es el destinatario previsto, se le notifica que cualquier divulgación, copia, distribución o acción en base al contenido de esta información está estrictamente prohibida y puede ser ilegal. Si ha recibido esta comunicación por error, le rogamos que nos lo notifique inmediatamente respondiendo a este correo electrónico y que lo borre de su sistema. Cad It España no se responsabiliza de la correcta y completa transmisión de la información contenida en esta comunicación ni de cualquier retraso en su recepción.

 

The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Cad It Spain is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.

 

 Para conservar el ambiente, por favor no imprima este correo electrónico a no ser que sea absolutamente esencial.


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux