Multiple SSLs on one server

Hi Friends,

I have pointed two domains (, on same server ( hosted on Azure. HTTP for both sites are working.

SSL is working for, but not for I have configured vHosts for both.

For, I get this error from chrome:

This server could not prove that it is ; its security certificate is from . This may be caused by a misconfiguration or an attacker intercepting your connection.

For, I get this error from curl:

curl: (51) SSL: no alternative certificate subject name matches target host name ‘

For, I get this error from ssllabs analyzer tool:

Certificate name mismatch

I read a bit about SNI but I am not quite sure how to configure it. Can you please help me out?

Hi @mkthakral

your has the wrong certificate ( ):
expires in 84 days, - 2 entries

Looks like your - vHost isn't used.

What says

apachectl configtest
apachectl fullstatus
apachectl -S

The last command shows the vHosts.

PS: There are redirects -> Is this intended? Or have both domains different content?

If both domains have different content, then it looks that the wrong vHost is used.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.