when you run Internet Explorer, you face problems

Document ID : KB000117523
Last Modified Date : 15/10/2018
Show Technical Document Details
We're running the Internet Explorer browser, this one returns error : 


The hostname in the website's security certificate differs from the 
website we are trying to visit. 

This happens when we're accessing .mydomain.com url as : 


when the certificate is for another domain, in this case
.myotherdomain.com. This is why Internet Explorer reports the error.

We want to know how replace the default certificates with the new one
for *.mydomain.com ?
You need to configure for the virtualhost to handle specific
certificate :

Enable SSL for Virtual Hosts 

DocumentRoot ".../htdocs/site1" 
ServerName www.site1.net 
ServerAdmin webmaster@site1.net 
ErrorLog logs/covalent_error_log_site1 
TransferLog logs/... 
SSLEngine on 
SSLCertificateFile /www.site1.net.cert 
SSLCertificateKeyFile /www.site1.net.key 
CustomLog logs/cipher_log_site1 \ 
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"