Firefox: Add a Trusted CA

by Vivek Gite · 2 comments

The default Firefox comes with certificates from well-known commercial CAs. My ISP is also CA and Firefox cannot verified it because the CA is not recognized. How do I force Firefox to accept my ISPs certificate?

Like many apps Firefox needs to have a certificate from the CA that signed the web server’s certificate. However, you can import a new CA certificate into Firefox version 3.5 using the following simple procedure:

Fire a Firefox browser (i.e. Launch Firefox)

Choose Preferences from the Edit menu.

Click the Advanced button.

Select the Encryption pane.

Fig.01: Firefox View Certificate

Fig.01: Firefox View Certificate

Click the View Certificates button.

Click the Authorities tab.

Click the Import button at the bottom of the screen.

Fig.02: Firefox Install / Import CA Certificate

Fig.02: Firefox Install / Import CA Certificate

Navigate to the CA certificate and import it.

Featured Articles:

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 2 comments… read them below or add one }

1 John 09.02.09 at 1:46 am

Cool now how do I do it for 1000 desktops?
Cheaper for me to buy a cert from a registered CA.

2 Patrick 09.16.09 at 10:36 pm

@John

I suppose it depends on the operating system. But if you have 1k Linux desktops it should be easy (hopefully you have an SSH key installed on each).

Put there IP addresses into a file and from a bash shell do something like this:

for compy in `cat file_with_addresses` ; do scp your_ca.crt root@$compy:/usr/share/ca-certificates/mozilla/ ; ssh root@$compy ‘ln -s /usr/share/ca-certificates/mozilla/your_ca.crt /etc/ssl/certs/your_ca.pem’ ; done

These paths are based on Ubuntu 9.04. If you are running some other distro, you’ll need to figure out the paths for yourself.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous FAQ:

Next FAQ:

nixCraft FAQ PDF Collection Now Available To All