Multiple SSLs on one server

Hi Friends,

I have pointed two domains (emergart.com, folyoz.com) on same server (13.84.41.203) hosted on Azure. HTTP for both sites are working.

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

For folyoz.com, I get this error from chrome:

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

For folyoz.com, I get this error from curl:

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

For folyoz.com, 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 folyoz.com has the wrong certificate ( https://check-your-website.server-daten.de/?q=folyoz.com ):

CN=emergart.com
	31.03.2019
	29.06.2019
expires in 84 days	
emergart.com, www.emergart.com - 2 entries

Looks like your folyoz.com - vHost isn't used.

What says

apachectl configtest
apachectl fullstatus
apachectl -S

The last command shows the vHosts.

PS: There are redirects folyoz.com -> emergart.com. 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.