Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Backend with client certificate authentication

$
0
0
Hi

I have an application (EJBCA) which is installed in wilfdly 10 version.

This application requires a client certificate authentication.

I need to put nginx in front and I have some issue to forward the client certificate to the application.

Here is my configuration :

location /ejbca/adminweb {
proxy_pass https://<ip>:<port>/ejbca/adminweb ;

proxy_set_header SSL_CLIENT_CERT $ssl_client_cert ;
proxy_set_header SSL_CIPHER $ssl_cipher ;
proxy_set_header SSL_SESSION_ID $ssl_session_id ;
}


In wildfly side (in undertow subsystem) I added an attribute certificate-forwarding :

<http-listener name="http" socket-binding="http" certificate-forwarding="true" redirect-socket="httpspriv"/>


But I still have a Bad Gateway error.

Any idea ?

Thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles