简体   繁体   中英

Apache ProxyPass - Error during SSL Handshake with remote server

Im using proxy pass to redirect http to https backend server (tomcat)

Error im getting is : Error during SSL Handshake with remote server

My Configuration :

<VirtualHost *:80>
    ServerName mypersonal.server.com
    ProxyRequests Off
    SSLProxyEngine On
    SSLProxyVerify none
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off
    ProxyPass /publisher https://localhost:9443/publisher
    ProxyPassReverse /publisher https://localhost:9443/publisher
</VirtualHost>

I'm trying to find a way to overcome the verification of SSL, but the following commands appears in grey in my config

    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off

Im using Server version: Apache/2.4.6 (CentOS)

Appreciate your assistance

Late to the party here, but somebody might find this useful. Check your SSLProxyProtocol directive. If, for security purposes, you have disabled the protocol that your backend is using, then the handshake will fail.

For example, I was using SSLProxyProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 -TLSv1.2 but had to relax it to SSLProxyProtocol all -SSLv2 -SSLv3 -TLSv1 because my backend is still using TLS v1.1.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM