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

tbamise nginx-forum at
Mon Feb 10 00:13:55 UTC 2014

> 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).
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)

Posted at Nginx Forum:,247305,247311#msg-247311

More information about the nginx mailing list