Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
February 10, 2014 04:14AM
Hello!

On Sun, Feb 09, 2014 at 07:13:55PM -0500, tbamise wrote:

> >
> > Connections to upstream servers don't use any client certificates.
> >
>
> Yes I agree. The connection to the upstream server uses the nginx server
> certificates specified by $ssl_certificate(_key).

It looks like you didn't understand my answer. Again: connections
to upstream servers don't use any client certificates. That is,
no certificates are used by nginx when connecting to upstream
servers.

> Basically I want to use:
> for downstream to client - a.cert & a.cert.key for connection to clients
> for upstream to upstream servers - b.cert & b.cert.key for connection to
> upstream servers.
>
> The https & server modules of Nginx only allow you to specify a single cert
> pair via $ssl_certificate(_key)

The only thing you can specify is ssl_client_certificate (and
ssl_client_certificate_key), and it is used only in connections
with clients.

SSL support in proxy module is rather rudientary and it doesn't
support using client certificates.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 141
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready