Welcome! Log In Create A New Profile

Advanced

Proxy to upstream HTTPS server *with different* keys/certs in nginx

February 08, 2014 07:39PM
Is it possible to use a different set of certs for the client side and another set for the upstream server side?

My use case is to have different sets of local ssl certs on Nginx. A key/cert pair for communicating with clients and another set for communicating with the upstream proxy.

Right now I can define a server module with ssl and specify the ssl certificates and specify a https protocol for proxy_pass for a location. But both client and upstream connections end up using the same certificates specified with $ssl_certificate. How can I specify different certificates for the client side connection and upstream side connection?
Subject Author Posted

Proxy to upstream HTTPS server *with different* keys/certs in nginx

tbamise February 08, 2014 07:39PM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

Maxim Dounin February 09, 2014 04:14PM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

tbamise February 09, 2014 07:13PM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

tbamise February 09, 2014 07:24PM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

Maxim Dounin February 10, 2014 04:14AM

RE: Proxy to upstream HTTPS server *with different* keys/certs in nginx

Lukas Tribus February 10, 2014 05:08AM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

tbamise February 10, 2014 07:25AM

RE: Proxy to upstream HTTPS server *with different* keys/certs in nginx

Lukas Tribus February 10, 2014 09:46AM

Re: RE: Proxy to upstream HTTPS server *with different* keys/certs in nginx

tbamise February 11, 2014 05:51PM

RE: Proxy to upstream HTTPS server *with different* keys/certs in nginx

Lukas Tribus February 11, 2014 06:00PM

Re: RE: Proxy to upstream HTTPS server *with different* keys/certs in nginx

tbamise February 11, 2014 06:05PM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

itpp2012 February 09, 2014 05:15PM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

tbamise February 09, 2014 07:21PM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

itpp2012 February 10, 2014 03:35AM

Re: Proxy to upstream HTTPS server *with different* keys/certs in nginx

tbamise February 10, 2014 07:15AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 289
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