How to add self-signed certificates to different browsers?

How to add self-signed certificates to different browsers?

  • How can I add self-signed certificates to e.g: Google Chrome under Linux (from the command line)? Thank you!

  • Answer:

    According to http://code.google.com/p/chromium/wiki/LinuxCertManagement: For example, to trust a root CA certificate for issuing SSL server certificates, use certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n <nickname> -i <filename> Note: to trust a self-signed server certificate, we should use certutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n <nickname> -i <filename> Unfortunately that doesn't work because of https://bugzilla.mozilla.org/show_bug.cgi?id=531160. To work around the NSS bug, you have to trust it as a CA using the "C,," trust flags. For Firefox, change the -d argument to Firefox profile path, without sql:.

LanceBaynes at Super User Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.