I’m stuck with a problem that the SSL certificate of the wrong domain is loaded.
I’ve setup a SSL certificate for my own domain, for example: AAA.com.
This certificate is requested through Comodo and has, as described through the admin, has been placed at the SSL root folder: /home/user-data/ssl/ssl_certificate.pem
I added other users from another domain, BBB.com through the admin panel. I forwarded the DNS through an external party so that mail.BBB.com forwards to the IP of the server.
I’ve gotten a second SSL certificate through Comodo and placed this at /home/user-data/ssl/BBB.com/ssl_certificate.pem
Restarted nginx, went to mail.BBB.com and saw that the SSL certificate was invalid as it was the certificate of AAA.com. A look through the config of nginx at /etc/nginx/conf.d/local looked good. Coudn’t find any reason why it loads the wrong SSL certificate.
Hopefully anyone can help.
offtopic; I don’t mind spending a couple of euro’s on an SSL certificate or a VPS, the same goes for good software. Is there a way to buy you a beer for the work? Your work is so far a breeze to setup correctly.