Thana
Thana

Reputation: 91

Chrome accept self-signed localhost certificate

i did follow all the answers on here and nothing worked for me... nothing at all. I'm on windows 10, using chrome version 54.0.2840.99 m trying to access my QNAP TS-453a on local on a static ip address (10.1.1.1) https://10.1.1.1/cgi-bin/

I tried using imported certificates, self signed, export and import the default one, etc nothing works

Some help would be really really appreciated

Upvotes: 8

Views: 46958

Answers (2)

Vic Seedoubleyew
Vic Seedoubleyew

Reputation: 10556

In general, to troubleshoot this kind of problem, open Developer Tools, go to Security tab, and you will see what Chrome deems wrong with that certificate.

It is likely that it doesn't include a subjectAltName extension, and the solution for adding one is here: https://stackoverflow.com/a/56530824/2873507

Upvotes: 4

79-madms
79-madms

Reputation: 606

Valid as of Chrome v58.0.3029:

  1. Visit the site in Chrome.
  2. Open Developer Tools (F12)
    • Navigate to Security tab
    • Click "View certificate"
      • Click Details > Copy to file
      • Choose a save location on your local machine
  3. Open Chrome settings
    • Toggle "Show Advanced Settings" (bottom of screen)
    • Navigate to HTTPS/SSL > Manage certificates
      • Click "Trusted Root Certification Authorities"
      • Click Import
      • Navigate to the cert you just stored
  4. Quit Chrome (Ctrl+Shift+Q) and re-visit your site

NOTE:

Chrome recently (as of 05/15/17) began to require that the cert's subjectAltName parameter be filled. This question received an answer that tells you how to do so.

Upvotes: 26

Related Questions