SSL client verification with chained CA

Marcin Deranek marcin.deranek at
Tue Oct 30 10:17:41 UTC 2012


So far we were able to run nginx (1.0.x & 1.2.x) with SSL client
verification enabled where certs were signed by single root CA:

ssl  on;
ssl_certificate  server_cert_signed_by_CA.pem;
ssl_certificate_key  server_key.pem;
ssl_client_certificate  ca_cert.pem;
ssl_verify_client  optional;

Now we would like to introduce chained CAs:

root CA -> intermediate CA -> client cert

so nginx should be able to verify client certificates which are signed
by intermediate CA. Unfortunately I was not able make it working (I see
that development version 1.3.x has some additional options which would
suggest that this setup can work with it). Is this setup possible with
nginx 1.2.x ?
Some other people had identical problem:

SSL module documentation (
mentions that SSL module "supports checking client certificates with two
limitations" whereas 2nd limitation seems to be related to server
cetificate rather than client certificate. Is this a bad wording or am
I missing something there ?


More information about the nginx mailing list