I have a problem with one of my virtualhost. My config: a reverse proxy with Centos 7 + apache 2.4 and a backend with Microsoft IIS 6.0.
When I do a curl from the proxy to the virtualhost (curl -k https://blabla.com/) I get a proxy error:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
The proxy server could not handle the request <em><a href="/">GET /</a></em>.<p>
Reason: <strong>Error during SSL Handshake with remote server</strong></p><p />
</body></html>
When I look at the packets it is what I get:
1) Client sends [SYN] to server.
2) Server sends [SYN,ACK] to client.
3) Client sends [ACK] to server.
4) Client sends the message “Client Hello” to the server.
5) Server sends its public key with the message “Server Hello, Certificate, Server Hello Done”
6) Client sends its public key with the message “Client Key Exchange, Change Cipher Spec, Encrypted Handshake Message”
7) Server sends encrypted handshake message with the message “Change Cipher Spec, Encrypted Handshake Message”
8) Client sends [FIN,ACK]
9) Server sends RST
The cypher the server wants to use is tls_rsa_with_3des_ede_cbc_sha.
I do not have access to the backend server.
But when I do the same but from the proxy to the real IP of the backend (e.g. curl -k https://10.0.0.1/), it works perfectly. It is just when passing by the proxy that it does not work.
Do you know what is going wrong?