Chapter 24. PKCS12Export (Exports Certificates and Keys from a Database)

The PKCS12Export simply dumps all of the certificates and corresponding keys in an NSS security database to a specified .p12 output file.

24.1. Syntax

PKCS12Export -d /path/to/cert-directory -p keydb-password-file -w pkcs12-password-file -o output-file.p12 [ -debug ]

Parameters Description
-d Gives the full path to the NSS databases which contain the certificate to export.
-o Gives the name of the file to output the exported certificate to.
-p Gives the full path and filename of a file containing the password to access the NSS security databases.
-w Gives the full path and filename of a file to use to set the password to access the output file.
-debug Turns on debugging output to stdout.