Welcome! Log In Create A New Profile

Advanced

Certificate on HTTPS upstream is not verified

January 25, 2013 03:26AM
I need to send data to some backend servers using HTTPS, but it seems like nginx doesn't verify the certificate on the backend server. For instance, if I specify `proxy_pass https://example.com` and the certificate on example.com is invalid, nginx still completes the request without any warning.

I'd prefer it if nginx checked whether the certificate could be verified during the SSL handshake, and abort the request if the certificate isn't valid.

Is it possible to somehow enable certificate verification of the proxied server's certificate? And if it's not possible to verify the certificate, what's the point in using (or being able to use) an HTTPS backend then?

The reason I need SSL encryption is that traffic from my nginx server will be passed via public networks to the backend servers.

Thanks,
Rune
SubjectAuthorPosted

Certificate on HTTPS upstream is not verified

runesoerensenJanuary 25, 2013 03:26AM

Re: Certificate on HTTPS upstream is not verified

runesoerensenJanuary 25, 2013 03:47AM

Re: Certificate on HTTPS upstream is not verified

runesoerensenJanuary 25, 2013 04:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready