Lukas Kolbe wrote:
Hello!

I'm trying to compile the addbuiltin program to include our local
root-CA into our libnss build. For that, I'm using the sources provided
by ubuntu (firefox 1.5). A wiki page over at cacert.org says I have to
first do a "make nss_build_all" in firefox/security/nss. This fails,
because "../../../config/./nsinstall" could not be found - of course,
it's not in "../../../config", but in "../../config".

I suggest that you download
https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_3_RTM/src/nss-3.11.3-with-nspr-4.6.3.tar.gz
as David Stutzman suggested.

After you expand the tarball, do
  cd nss-3.11.3/mozilla/security/nss
  make nss_build_all

Then, add the full pathname of nss-3.11.3/mozilla/dist/Linux....OBJ/bin
to your PATH environment variable, and set LD_LIBRARY_PATH to the full
pathname of nss-3.11.3/mozilla/dist/Linux....OBJ/lib.

Now, you copy the file
mozilla/security/nss/lib/ckfw/builtins/certdata.txt
from the Ubuntu Firefox 1.5 source tree to your nss-3.11.3
source tree.  Run addbuiltin and append the new cert to certdata.txt.
Do "make generate".  Then copy the new certdata.txt and the generated
certdata.c back to your Ubuntu Firefox 1.5 source tree.
cd into the security/manager directory of your Ubuntu Firefox 1.5
build tree, and do "make".

Wan-Teh

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to