Page 1 of 1

All site are using same ssl

Posted: Sat Jul 26, 2014 4:09 pm
by jan
When i installed ssl certificate of 1 domain, the other domains with no ssl are using the ssl certificate of the first domain with ssl when i acces it true https://. How can this be fixed?

Edit: Looks like it redirect traffic from domain with no ssl to domain with ssl (if you acces domain with no ssl on https://)

Re: All site are using same ssl

Posted: Sun Jul 27, 2014 10:35 pm
by jan
bug reported

Re: All site are using same ssl

Posted: Fri Aug 01, 2014 5:36 pm
by jan
Bug fixed in my setup. I hope it will be permanently fixed within the next update.

Re: All site are using same ssl

Posted: Tue Aug 05, 2014 6:50 am
by mephivio
hi
how do you fix it ?
i have the same problem
thanks

Re: All site are using same ssl

Posted: Mon Aug 11, 2014 6:33 pm
by imperio
jan, add this issue in our bugtracker
https://bugs.vestacp.com/

Re: All site are using same ssl

Posted: Thu Aug 21, 2014 10:25 pm
by Trentor
Hello,

I don't know if is this a bug; the problem is present when we use only one IP and have more than one domain or domains+subdomains.

For example:

I have domain.com - sub1.domain.com - sub2.domain.com and only 1 IP for all of them.

I'm using a Comodo Certificate for sub1.domain.com, another one for sub2.domain.com and another one self-signed for domain.com:

domain.com --> Self-signed
sub1.domain.com --> Comodo Certificate A
sub2.domain.com --> Comodo Certificate B

The first one certificate installed was Comodo Certificate A for sub1.domain.com and works ok, no problem.
The second one, Comodo Certificate B for sub2.domain.com also works ok, but, below I explain the problem.

If you use a SSL Checker webs for test sub1.domain.com the response is always ok, it's properly configured. When you check the sub2.domain.com, some checkers says ok, BUT another ones says that the certificate is issued for sub1.domain.com and gives you an error.

The best check:

Code: Select all

openssl s_client -connect domain.com:443 | openssl x509 -text
With this, you can check the only one certificate that it's working properly it's the first one installed, the other ones doesn't not work because says that are issued for sub1.domain.com.

I don't know if it's a bug, but I'm having some problems with certificates in differents subdomains.

Regards.