SysAdmin

Apache 2.4 – Error during SSL Handshake with remote server

JJ
Jobin Joseph · Founder and CEO
·Published 16 December 2013·1 min read

Issue

Error during SSL Handshake with remote server Usually happens with the following scenario.

Server 1 – Apache as SSL proxy to server2
Server 2 – Runs the web service such as apache or nginx.

Environment

This issue usually happens with apache 2.4.x .

Resolution

To solve this issue, Just add the following configuration to the Apache SSL  Proxy configuration on server 1,
Just After SSLProxyEngine On add
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off

The above variables are Off by default in versions older than Apache 2.4. So we need to to turn it Off in the configuration manually on Apache 2.4.

Verify your configurations

httpd -t

Finally, Restart the service service httpd restart Now access the website, It should work perfectly.

If not, Just comment below with the details.

Jobin Joseph
Jobin Joseph, Founder and CEO
5x AWS Certified, ISO 27001:2022 Lead Implementer, 17+ years building cloud infrastructure for regulated industries.
About Jobin →

Reading this because your AWS bill or uptime is a problem?

30 minutes, direct with the founder, no sales pitch: one specific recommendation for your AWS workload.

Book a free 30-minute review
30 min Free Consultation →