Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

ssl - 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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...