cancel
Showing results for 
Search instead for 
Did you mean: 

SSL redirect working on Chrome but not Safari or Firefox

Forgive me for creating a new post, but I could not find a solution in the other threads. I added a standard UCC SSL to five websites I host this week. The main website is not showing up as secure in Chrome, but it is in Explorer. The other four are showing up as secure in Chrome, but in Explorer they are getting the following error:

This site isn’t secure

The hostname in the website’s security certificate differs from the website you are trying to visit.

Error Code: DLG_FLAGS_SEC_CERT_CN_INVALID

In Firefox they are getting the error:

Your connection is not secure. The owner of (my website) has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.

And in Safari:

This connection is not private. This website may be impersonating (fill in my website url) to steal your personal or financial information.

SSLshopper shows no errors. I have tried editing my .htacccess file. I have tried setting up SSL redirect in Godaddy. Any other ideas? Could it be because the four domains are subdomains on my main hosting site? Here is the .htaccess code I am using, with "sample" replaced with my URL:

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$

RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteEngine On

RewriteCond %{HTTP_HOST} ^sample.com [OR]

RewriteCond %{HTTP_HOST} ^www.sample.com$

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://www.sample.com/$1 [R=301,L]

Any help is appreciated!