Nginx – what is the alternative of apache’s SSLCACertificateFile in nginx

apache-2.4nginx

I am Migrating from an Apache Web Server to Nginx and i need an alternative of apache's SSLCACertificateFile in nginx library.

I have used :-

ssl_certificate as alternative of SSLCertificateFile and
ssl_certificate_key as alternative of SSLCertificateKeyFile.

But didn't get any alternative for SSLCACertificateFile .

Any suggestion would be helpful??

Best Answer

Are you sure you need SSLCaCertificateFile? This is for client authentication. Don't you need SSLCertificateChainFile to provide intermediate certificates?

In the later case just append your intermediates to the file referenced as ssl_certificate.

If you really are after client authentication, check ssl_client_certificate / ssl_client_verify directives.