Chrome

Chrome: How to install self-signed SSL certificates

Open Chrome Settings, scroll down and click on “Show advanced settings…“, then under “HTTPS/SSL” click on “Manage certificates…“.

Click “Import…” and then “Next”.

Click “Browse…” and, since it’s not default, in the open dialog make sure you have “PKCS #7 Certificates (*.spc,*.p7b)” selected as filter, otherwise you won’t see your previously saved certificate.

Click “Next” and then “Browse…” and make sure you select “Trusted Root Certification Authorities” as destination for your certificate, then hit “OK”, then “Next” and finally “Finish”.

Now simply confirm certificate installation by clicking “Yes”.

Now close all open dialogs, close Chrome (important), restart it and try to visit your website… you will see it’s now “Secure” (green lock) and without warnings!

The procedure described above is for Microsoft Windows, but can be easily replicated on other operating systems.

Previous post

Postfix: How to identify a PHP script sending spam

Next post

Windows 7 won't boot

Fulvio Sicurezza

Fulvio Sicurezza

8 Comments

  1. Alisa
    Saturday November 18th, 2017 at 05:19 PM — Reply

    Thank you so much for this – very helpful!!

  2. Nathan
    Sunday April 29th, 2018 at 08:37 AM — Reply

    “Click on “View certificate“, go to “Details” tab and click on “Copy to File…”.”

    – No such option on macOS

    • Fulvio Sicurezza
      Monday April 30th, 2018 at 07:11 AM — Reply

      Hi Nathan,

      for MacOS, after clicking “View certificate”, select the certificate (last node of the tree located in the upper part of the window) and simply drag the large certificate icon (the one to the left of “Issued by” and “Expires” words) and drop it to your desktop or in any Finder window.
      After that, you can import the saved certificate by double-clicking it.

  3. Wednesday May 23rd, 2018 at 03:17 PM — Reply

    didnt work

  4. Daniel Ann
    Wednesday June 27th, 2018 at 01:08 PM — Reply

    Okay this works.
    I wonder, if this worked because I used chrome setting to install the server certificate?
    When I tried installing server certificate using MMC certificate snap-in chrome ignored it and kept on displaying certificate invalid.
    Now that your way worked I’ve deleted the server certificate using MMC certificate snap-in chrome still opens up the site in GREEN color.
    Chrome is definately storing some information on its own storage just don’t know where that is…

  5. ben
    Tuesday October 1st, 2019 at 09:10 PM — Reply

    Once the procedure in this article is followed, will the site security show as green for all visitors?

    • Fulvio Sicurezza
      Thursday October 3rd, 2019 at 08:13 AM — Reply

      Hi Ben, since we’re talking about LOCAL development it will show as green just for you.
      For a public website, you need a trusted authority certificate (e.g., you could use a Let’s Encrypt certificate), issued for your website’s domain (e.g. mywebsite.com).

Leave a reply

Your email address will not be published. Required fields are marked *