NixOS/nixpkgs — pull request #112 by aszlig (2012-08-22 06:38:57+00:00)
Title: Fix NSS library not finding root CA certificates.

This now uses more or less hardcoded CA certificates from Mozilla, which is the case on Debian and Gentoo aswell. And it fixes the root CA loading issue, as i discovered that firefox builds with the bundled version of NSS. With this branch this is no longer the case.

My long-term plans are to integrate an automatic chainloader for OPENSSL_X509_CERT_FILE, but I'm not sure if this is really a good idea (hence not included in this branch), as the nss-pem module is still somewhat experimental. Regardless of it's experimental nature i'm still including it in order to make it possible for users to load custom PEM encoded certificates into the NSS database.

This fixups also makes it possible to enable FIPS mode, in case someone might be interested in that.

And finally, we have a Chromium without quirky bugs from the experimental OpenSSL integration, which was my original motivation to do this.