Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome still showing red https logo even after adding the certificate to trusted root authorities store (Internal-use self-signed SSL Cert)

Trying to set up an encrypted connection for an intranet site. It's for a small company and not dealing with any sensitive information, but still would like to avoid login and password information sending in the clear. Would also like to avoid having to buy a certificate if possible.

I tried creating a certificate with OpenSSL and got everything set up and the site works over an HTTPS connection, but the web browsers are all showing warning messages. So, I googled around and found that I could add the certificate to Windows' Trusted Root Certification Authorities. I tried this, but am still getting the warning messages and "red x" https logo. Also tried importing the certificate into Chrome through the options screen but no luck.

How can I get my internal machines to trust my self-signed SSL certificate and not show a warning message?

like image 226
Joe M. Avatar asked Dec 29 '11 23:12

Joe M.


People also ask

How do I mark a certificate as trusted in Chrome?

Click the "i" button, or right click on your certificate, and choose "Get Info" Expand the "Trust" option. Change "When using this certificate" to "Always Trust" Close the dialog, and you'll be prompted for your password.

How do you force a browser to trust a self signed certificate?

Navigate to the site with the cert you want to trust, and click through the usual warnings for untrusted certificates. In the address bar, right click on the red warning triangle and "Not secure" message and, from the resulting menu, select "Certificate" to show the certificate.


2 Answers

I think Mr. Leahy's suggestion to use a name with DNS-like qualification would work. Here's Chromium patch information related to the error:

http://groups.google.com/a/chromium.org/group/chromium-checkins/msg/9fe59a981479aa44?pli=1 (r62178)

If the host name denotes an "intranet host", which in the code means one with either no dot in the name or a dot at the end, then it is considered non-unique, and you get the warning. After quickly looking through other patches involving the warning, I didn't find a way to tell Chrome to relax about the warning.

like image 186
bhavanki Avatar answered Nov 07 '22 13:11

bhavanki


Im not sure this will apply to your question but I had a similar experience a few days back where chrome would show an insecure site (red cross through the EV ssl) In my case it was because some links from google apis were over http not https thus MAKE SURE ALL YOUR EXTERNAL RESOURCES ARE CALLED OVER HTTPS not http!

like image 40
user3088622 Avatar answered Nov 07 '22 13:11

user3088622