Welcome! Log In Create A New Profile

Advanced

Re: reverse proxy an apache who forces ssl

Reinis Rozitis
July 17, 2012 01:30PM
> 2012/07/17 18:40:05 [error] 5043#0: *1 SSL_do_handshake() failed (SSL:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol)
while SSL handshaking to upstream, client: 8.12.87.11, server:
www.acme.eu, request: "GET / HTTP/1.1", upstream:
"https://10.10.2.1:443/", host: "www.acme.eu"

> in my log. What am I doing wrong?

The error is kinda saying that the upstream is not talking SSL (or vice
versa if I'm wrong).


Can you show what does this return ( change the 10.10.2.1 to your backend
apache ip/host if its not the real one from the error message):

openssl s_client -connect 10.10.2.1:443


It will either return the SSL cert information (then the backend is fine and
the problem is on nginx side) or the same error.

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

reverse proxy an apache who forces ssl

Isaac Hailperin July 17, 2012 10:06AM

Re: reverse proxy an apache who forces ssl

Reinis Rozitis July 17, 2012 10:18AM

Re: reverse proxy an apache who forces ssl

Isaac Hailperin July 17, 2012 12:46PM

Re: reverse proxy an apache who forces ssl

Reinis Rozitis July 17, 2012 01:30PM

Re: reverse proxy an apache who forces ssl

Isaac Hailperin July 18, 2012 03:38AM

Re: reverse proxy an apache who forces ssl

saucepan July 18, 2012 05:40AM

Re: reverse proxy an apache who forces ssl

Reinis Rozitis July 18, 2012 05:48AM

Re: reverse proxy an apache who forces ssl

Isaac Hailperin July 18, 2012 08:26AM

Re: reverse proxy an apache who forces ssl

saucepan July 17, 2012 01:30PM

Re: reverse proxy an apache who forces ssl

Maxim Dounin July 20, 2012 05:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 300
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready