CAcert is a non-profit certificate authority (or CA for short) where you can - once your identity is verified to a sufficient degree by the web of trusted users - issue free SSL certificates for your webservers. However, SSL certificates only work without warning messages if the root certificate of the CA which issued it are known to the client. At the time of writing this is not yet the case for mainstream clients such as Firefox. But this should change in the future as CAcert is currently undergoing a serious audit needed for inclusion into mainstream clients. Until then, here's how to add the root certificate manually.
There is one crucial step when adding root certificates manually: You must be absolutely sure that the root certificate is authentic by comparing fingerprints and certificate metadata such as the owner with those posted - in this case - on the official CAcert Wiki.
cd /etc/ssl/certs curl http://www.cacert.org/certs/class3.der >import.der openssl sha1 import.der ### VERIFY THE SHA1 FINGERPRINT ### openssl md5 import.der ### VERIFY THE MD5 FINGERPRINT ### openssl x509 -text -inform der -in import.der ### VERIFY THE OWNER ### openssl x509 -in import.der -inform der -out CAcert_Class_3_Root_CA.pem -outform pem rm import.der c_rehash . update-ca-certificates
See the CAcert Wiki for more.