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.
Click the View Certificates button.
Click the Authorities tab.
Click the Import button at the bottom of the screen.
Navigate to the CA certificate and import it.
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop















{ 7 comments… read them below or add one }
Cool now how do I do it for 1000 desktops?
Cheaper for me to buy a cert from a registered CA.
@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.
This does not seem to work under Ubuntu 11.04. I do not have many computers (3), but there some dozens of users and I copied my CA-certificate to /usr/share/ca-certificates/mozilla/my.crt and even ran ‘dpkg-reconfigure ca-certificates’ selecting this certificate and ‘update-ca-certificates’, but it seems firefox does not use this database. The certificate does not appear in the certificate list of firefox (for some random user).
UPDATE: For me, anyway, it’s now found under “Tools > Options > …” vice “Edit > Preferences > …” The “… Advanced > Encryption > …” and so on is the same. I’ve got version Firefox 3.6.13.
This is not a difference between different versions of Firefox but between Firefox for Windows and for Linux (at least Ubuntu). Not sure why this difference exists but it is pretty old.
@john, your 1000 desktops are probably Windows rather than Linux. But if your user profiles are on a Samba server, it can be quite easy to script. See here: Link #1.
If you have to do it on Windows and can compile the nss tools or find some binary, you could do something similar in Windows. See here for example: Link #2
You show how to import into firefox very clearly. However the explanation assumes you know where the file to be imported comes from. For example I have just installed satellite & I cannot connect to it becomes my browser will not let me. I have looked around & I have some certificates in /etc/pki/tls/certs on the server. Now I need to know how to create the import certificate. The files I have are:
ca-bundle.crt
localhost.crt
spacewalk.crt
So which one do I use? How do I use the above to make an import file?