NGINX+Multiple SSL Sites

May 14, 2014 1.6k views
Certificate: (2) Comodo Personal SSL (1) Geo Trust SSL Problem: Setting up a droplet with three ssl sites but one site's certificate is conflicting with the other. "SSL mismatched" However I have deleted and reissued certificate multiples times to rule out no error was made during certificate setup. Any help on how to resolve this issue will be greatly appreciated!
4 Answers
SSL mismatched errors happen when you don't specify the correct certificate associated with a given private key. It can also happen if you bundle your intermediary certs in the wrong order I believe.

Make sure you're using the correct private key with the correct cert. Reissuing will not help.

Could there be a conflict between the sites? As in the server is registering one of the sites first lets say on alphabetical order?

Read this https://www.digitalocean.com/community/articles/how-to-set-up-multiple-ssl-certificates-on-one-ip-with-nginx-on-ubuntu-12-04 ?
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.
Thanks, that's the tutorial I followed.

However, I still have conflicting certificate for the domains.

Can't seem to find any solution.
Have another answer? Share your knowledge.