Ssl – website uses an invalid security certificate (Error code: ssl_error_bad_cert_domain)

iis-7sslwindows-server-2008

I am running IIS 7 on Windows Server 2008.

I have two websites:

www.website01.com

www.website02.com

I have an SSL Certificate for each website.

When I access a secured page on www.website02.com I get the error:

www.website02.com uses an invalid security certificate.

The certificate is only valid for www.website01.com.

(Error code: ssl_error_bad_cert_domain)

I have googled this error and I understand that it is caused by the fact that I have bound both sites to the same IP Address / Port No. (443). However, I don't know what I need to do to remedy this situation.

Would someone please help.

Thanks in advance.

Kind Regards

Walter

Best Answer

You can only have one SSL cert per IP address in IIS.

Related Topic