gecko-dev/security/nss/lib/ckfw/builtins
wtchang%redhat.com 8696bd362e Bugzilla Bug 326403: use "Mozilla Foundation" as the manufacturer or
producer of our shared libraries/DLLs.  Removed the optional copyright
notices from our DLLs. r=relyea,jpierre.
Modified Files:
	lib/ckfw/builtins/constants.c lib/ckfw/builtins/nssckbi.rc
	lib/ckfw/capi/nsscapi.rc lib/ckfw/dbm/instance.c
	lib/freebl/freebl.rc lib/nss/nss.rc lib/smime/smime.rc
	lib/softoken/pkcs11.c lib/softoken/softokn.rc lib/ssl/ssl.rc
2006-03-01 19:44:36 +00:00
..
anchor.c Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
bfind.c Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
binst.c Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
bobject.c Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
bsession.c Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
bslot.c Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
btoken.c Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
builtins.h Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
certdata.c Bugzilla bug 275576: added "Root" to the nickname for the "Global 2005-04-18 16:08:10 +00:00
certdata.perl Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-02 22:28:27 +00:00
certdata.txt Bugzilla bug 275576: added "Root" to the nickname for the "Global 2005-04-18 16:08:10 +00:00
ckbiver.c Bugzilla bug 252375: added version information to the nssckbi shared 2004-08-31 17:28:50 +00:00
config.mk Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
constants.c Bugzilla Bug 326403: use "Mozilla Foundation" as the manufacturer or 2006-03-01 19:44:36 +00:00
Makefile Bug 302416 NSS root cert module & fortezza should not be using NSPR static libraries 2005-08-25 20:08:27 +00:00
manifest.mn Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files. 2005-01-20 02:25:51 +00:00
nssckbi.def Bug 236613: fixed the fallout from the change to MPL/LGPL/GPL tri-license. 2005-02-23 19:25:39 +00:00
nssckbi.h Bugzilla Bug 311958: Update the nssckbi versions for NSS 3.11. r=relyea. 2005-11-04 22:51:55 +00:00
nssckbi.rc Bugzilla Bug 326403: use "Mozilla Foundation" as the manufacturer or 2006-03-01 19:44:36 +00:00
README Bugzilla Bug 287495: added Go Daddy Class 2 CA and Starfield Class 2 CA. 2005-04-13 01:45:53 +00:00

This README file explains how to add a builtin root CA certificate to NSS
or remove a builtin root CA certificate from NSS.

The builtin root CA certificates in NSS are stored in the nssckbi PKCS #11
module. The sources to the nssckbi module are in this directory.

I. Adding a Builtin Root CA Certificate

You need to use the addbuiltin command-line tool to add a root CA certificate
to the nssckbi module. In the procedure described below, we assume that the
new root CA certificate is distributed in DER format in the file newroot.der.

1. Add the directory where the addbuiltin executable resides to your PATH
environment variable. Then, add the directory where the NSPR and NSS shared
libraries (DLLs) reside to the platform-specific environment variable that
specifies your shared library search path: LD_LIBRARY_PATH (most Unix
variants), SHLIB_PATH (32-bit HP-UX), LIBPATH (AIX), or PATH (Windows).

2. Copy newroot.der to this directory.

3. In this directory, run addbuiltin to add the new root certificate. The
argument to the -n option should be replaced by the nickname of the root
certificate. Then run "gmake generate".

    % addbuiltin -n "Nickname of the Root Certificate" -t C,C,C < newroot.der >> certdata.txt
    % gmake generate

4. Edit nssckbi.h to bump the version of the module.

5. Run gmake in this directory to build the nssckbi module.

6. After you verify that the new nssckbi module is correct, check in
certdata.txt, certdata.c, and nssckbi.h.

II. Removing a Builtin Root CA Certificate

1. Change directory to this directory.

2. Edit certdata.txt and remove the root CA certificate.

3. Run "gmake generate".

4. Edit nssckbi.h to bump the version of the module.

5. Run gmake in this directory to build the nssckbi module.

6. After you verify that the new nssckbi module is correct, check in
certdata.txt, certdata.c, and nssckbi.h.