I want to use multiple ssl certificates according to remote address

November 4, 2016 1.1k views
Apache Ubuntu 16.04 Nginx CentOS

I have multiple ssl certificates for special reasons and I want to use them under same domain according to remote ip adress. Is it possible to do that in any of web server or reverse proxy server?

1 Answer

This is a really unique question and to be honest, it’s not something I’ve encountered before. I did a bit of research and it is possible to serve an SSL cert conditionally and this example covers how to use an SSL cert for public users while not using one for a specific IP range and might provide a foundation to build the type of solution you are looking for.

Have another answer? Share your knowledge.