NGINX+Multiple SSL Sites

Posted May 14, 2014 5.8k 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!

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
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 ?
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.