Multiple SSL Certificate with Nginx on Centos 6.3

February 23, 2013 2.4k views
Do you have instructions for setting this up? If yes, then does this means that I can host several domains in a droplet with only one IP with standard domains and the ones with SSL Certificate mixed together? Something like: 1. (SSL) 2. (normal) 3. (SSL) all using the same IP 111.222.333.444 Thank you.
1 Answer
Setting up multiple SSL certs on a single IP with Nginx is rather simple using SNI and just requires adding the additional server { } definitions.

We have an article on how to do that in Ubuntu and you can just follow the nginx configuration portion for that:
by Etel Sverdlov
Although hosting several sites on a single virtual private server is not a challenge with the use of virtual hosts, providing separate SSL certificates for each site traditionally required separate IP addresses. The process has recently been simplified through the use of Server Name Indication (SNI), which sends a site visitor the certificate that matches the requested server name.
Have another answer? Share your knowledge.