Can ssl_client_certificate be set dynamically?
July 05, 2021 04:55AM
Hi,

I have a case where Nginx handles multiple domains. Is it possible that I can load the Client certificate list dynamically based on the subdomain?

For example if the server is set to handle wildcard domains of *.example.com, is there any way I can set the ssl_client_certificate like this:

ssl_client_certificate /certs/$subdomain/certs.pem

If not, can someone please suggest some alternatives? The proxy would handle 100s of subdomains, so its not possible to create multiple entries.

Thanks
Vishal
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 235
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready