Search

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

download PDF
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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.