How to pass a certificate to an upstream

Igor Sysoev igor at sysoev.ru
Wed Feb 9 17:00:04 MSK 2011


On Wed, Feb 09, 2011 at 02:54:21PM +0100, rainer at ultra-secure.de wrote:

> I want to put NGINX in front of a server that requires client-certificates.
> I need to pass the certificate to the upstream.
> 
> How does one do that?
> 
> The upstream is a native jboss server (EJBCA in fact).

You can pass client certificate using some header, X-SSL-CERT, for example:
proxy_set_header  X-SSL-CERT  $ssl_client_cert;
But I do not know how to get process it on jboss side.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list