Multiple SSL Certificate with Nginx on Centos 6.3

Posted February 23, 2013 4.6k 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.