Adding Client Certificates

To add client certificates to nginx configuration you need to add the following lines to the server block where ssl terminates.

1
2
3
ssl_client_certificate /etc/ssl/intermediate/[clientname]/certs/ca-chain.cert;
ssl_verify_client on;
ssl_verify_depth 2;

The ssl_client_certificate is the file path to the client certificate.

Redacted