Using Network Security Services (NSS) Tools
Using the certutil Utility
Before running certutil, make sure that LD_LIBRARY_PATH points to the location of the libraries required for this utility to run. This location can be identified from the value of AS_NSS_LIB in asenv.conf (product wide configuration file).
The certificate database tool, certutil, is an NSS
The key and certificate management process generally begins with creating keys in the key database, then generating and managing certificates in the certificate database. The following document discusses certificate and key database management with NSS, including the syntax for the certutil utility: http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html.
Each of the items in the list below gives an example using NSS and JSSE security tools to create and/or manage certificates.
■Generate a
In this example,
certutil
Generate the client certificate. This certificate is also a
certutil
■Verify the certificates generated in the previous bullet.
certutil
■Display available certificates.
certutil -L -d $CERT_DB_DIR
Chapter 9 • Configuring Security | 117 |