michael@0: '\" t michael@0: .\" Title: CERTUTIL michael@0: .\" Author: [see the "Authors" section] michael@0: .\" Generator: DocBook XSL Stylesheets v1.78.1 michael@0: .\" Date: 5 June 2014 michael@0: .\" Manual: NSS Security Tools michael@0: .\" Source: nss-tools michael@0: .\" Language: English michael@0: .\" michael@0: .TH "CERTUTIL" "1" "5 June 2014" "nss-tools" "NSS Security Tools" michael@0: .\" ----------------------------------------------------------------- michael@0: .\" * Define some portability stuff michael@0: .\" ----------------------------------------------------------------- michael@0: .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ michael@0: .\" http://bugs.debian.org/507673 michael@0: .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html michael@0: .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ michael@0: .ie \n(.g .ds Aq \(aq michael@0: .el .ds Aq ' michael@0: .\" ----------------------------------------------------------------- michael@0: .\" * set default formatting michael@0: .\" ----------------------------------------------------------------- michael@0: .\" disable hyphenation michael@0: .nh michael@0: .\" disable justification (adjust text to left margin only) michael@0: .ad l michael@0: .\" ----------------------------------------------------------------- michael@0: .\" * MAIN CONTENT STARTS HERE * michael@0: .\" ----------------------------------------------------------------- michael@0: .SH "NAME" michael@0: certutil \- Manage keys and certificate in both NSS databases and other NSS tokens michael@0: .SH "SYNOPSIS" michael@0: .HP \w'\fBcertutil\fR\ 'u michael@0: \fBcertutil\fR [\fIoptions\fR] [[\fIarguments\fR]] michael@0: .SH "STATUS" michael@0: .PP michael@0: This documentation is still work in progress\&. Please contribute to the initial review in michael@0: \m[blue]\fBMozilla NSS bug 836477\fR\m[]\&\s-2\u[1]\d\s+2 michael@0: .SH "DESCRIPTION" michael@0: .PP michael@0: The Certificate Database Tool, michael@0: \fBcertutil\fR, is a command\-line utility that can create and modify certificate and key databases\&. It can specifically list, generate, modify, or delete certificates, create or change the password, generate new public and private key pairs, display the contents of the key database, or delete key pairs within the key database\&. michael@0: .PP michael@0: Certificate issuance, part of the key and certificate management process, requires that keys and certificates be created in the key database\&. This document discusses certificate and key database management\&. For information on the security module database management, see the michael@0: \fBmodutil\fR michael@0: manpage\&. michael@0: .SH "COMMAND OPTIONS AND ARGUMENTS" michael@0: .PP michael@0: Running michael@0: \fBcertutil\fR michael@0: always requires one and only one command option to specify the type of certificate operation\&. Each command option may take zero or more arguments\&. The command option michael@0: \fB\-H\fR michael@0: will list all the command options and their relevant arguments\&. michael@0: .PP michael@0: \fBCommand Options\fR michael@0: .PP michael@0: \-A michael@0: .RS 4 michael@0: Add an existing certificate to a certificate database\&. The certificate database should already exist; if one is not present, this command option will initialize one by default\&. michael@0: .RE michael@0: .PP michael@0: \-B michael@0: .RS 4 michael@0: Run a series of commands from the specified batch file\&. This requires the michael@0: \fB\-i\fR michael@0: argument\&. michael@0: .RE michael@0: .PP michael@0: \-C michael@0: .RS 4 michael@0: Create a new binary certificate file from a binary certificate request file\&. Use the michael@0: \fB\-i\fR michael@0: argument to specify the certificate request file\&. If this argument is not used, michael@0: \fBcertutil\fR michael@0: prompts for a filename\&. michael@0: .RE michael@0: .PP michael@0: \-D michael@0: .RS 4 michael@0: Delete a certificate from the certificate database\&. michael@0: .RE michael@0: .PP michael@0: \-E michael@0: .RS 4 michael@0: Add an email certificate to the certificate database\&. michael@0: .RE michael@0: .PP michael@0: \-F michael@0: .RS 4 michael@0: Delete a private key from a key database\&. Specify the key to delete with the \-n argument\&. Specify the database from which to delete the key with the michael@0: \fB\-d\fR michael@0: argument\&. Use the michael@0: \fB\-k\fR michael@0: argument to specify explicitly whether to delete a DSA, RSA, or ECC key\&. If you don\*(Aqt use the michael@0: \fB\-k\fR michael@0: argument, the option looks for an RSA key matching the specified nickname\&. michael@0: .sp michael@0: When you delete keys, be sure to also remove any certificates associated with those keys from the certificate database, by using \-D\&. Some smart cards do not let you remove a public key you have generated\&. In such a case, only the private key is deleted from the key pair\&. You can display the public key with the command certutil \-K \-h tokenname\&. michael@0: .RE michael@0: .PP michael@0: \-G michael@0: .RS 4 michael@0: Generate a new public and private key pair within a key database\&. The key database should already exist; if one is not present, this command option will initialize one by default\&. Some smart cards can store only one key pair\&. If you create a new key pair for such a card, the previous pair is overwritten\&. michael@0: .RE michael@0: .PP michael@0: \-H michael@0: .RS 4 michael@0: Display a list of the command options and arguments\&. michael@0: .RE michael@0: .PP michael@0: \-K michael@0: .RS 4 michael@0: List the key ID of keys in the key database\&. A key ID is the modulus of the RSA key or the publicValue of the DSA key\&. IDs are displayed in hexadecimal ("0x" is not shown)\&. michael@0: .RE michael@0: .PP michael@0: \-L michael@0: .RS 4 michael@0: List all the certificates, or display information about a named certificate, in a certificate database\&. Use the \-h tokenname argument to specify the certificate database on a particular hardware or software token\&. michael@0: .RE michael@0: .PP michael@0: \-M michael@0: .RS 4 michael@0: Modify a certificate\*(Aqs trust attributes using the values of the \-t argument\&. michael@0: .RE michael@0: .PP michael@0: \-N michael@0: .RS 4 michael@0: Create new certificate and key databases\&. michael@0: .RE michael@0: .PP michael@0: \-O michael@0: .RS 4 michael@0: Print the certificate chain\&. michael@0: .RE michael@0: .PP michael@0: \-R michael@0: .RS 4 michael@0: Create a certificate request file that can be submitted to a Certificate Authority (CA) for processing into a finished certificate\&. Output defaults to standard out unless you use \-o output\-file argument\&. Use the \-a argument to specify ASCII output\&. michael@0: .RE michael@0: .PP michael@0: \-S michael@0: .RS 4 michael@0: Create an individual certificate and add it to a certificate database\&. michael@0: .RE michael@0: .PP michael@0: \-T michael@0: .RS 4 michael@0: Reset the key database or token\&. michael@0: .RE michael@0: .PP michael@0: \-U michael@0: .RS 4 michael@0: List all available modules or print a single named module\&. michael@0: .RE michael@0: .PP michael@0: \-V michael@0: .RS 4 michael@0: Check the validity of a certificate and its attributes\&. michael@0: .RE michael@0: .PP michael@0: \-W michael@0: .RS 4 michael@0: Change the password to a key database\&. michael@0: .RE michael@0: .PP michael@0: \-\-merge michael@0: .RS 4 michael@0: Merge two databases into one\&. michael@0: .RE michael@0: .PP michael@0: \-\-upgrade\-merge michael@0: .RS 4 michael@0: Upgrade an old database and merge it into a new database\&. This is used to migrate legacy NSS databases (cert8\&.db michael@0: and michael@0: key3\&.db) into the newer SQLite databases (cert9\&.db michael@0: and michael@0: key4\&.db)\&. michael@0: .RE michael@0: .PP michael@0: \fBArguments\fR michael@0: .PP michael@0: Arguments modify a command option and are usually lower case, numbers, or symbols\&. michael@0: .PP michael@0: \-a michael@0: .RS 4 michael@0: Use ASCII format or allow the use of ASCII format for input or output\&. This formatting follows RFC 1113\&. For certificate requests, ASCII output defaults to standard output unless redirected\&. michael@0: .RE michael@0: .PP michael@0: \-b validity\-time michael@0: .RS 4 michael@0: Specify a time at which a certificate is required to be valid\&. Use when checking certificate validity with the michael@0: \fB\-V\fR michael@0: option\&. The format of the michael@0: \fIvalidity\-time\fR michael@0: argument is michael@0: \fIYYMMDDHHMMSS[+HHMM|\-HHMM|Z]\fR, which allows offsets to be set relative to the validity end time\&. Specifying seconds (\fISS\fR) is optional\&. When specifying an explicit time, use a Z at the end of the term, michael@0: \fIYYMMDDHHMMSSZ\fR, to close it\&. When specifying an offset time, use michael@0: \fIYYMMDDHHMMSS+HHMM\fR michael@0: or michael@0: \fIYYMMDDHHMMSS\-HHMM\fR michael@0: for adding or subtracting time, respectively\&. michael@0: .sp michael@0: If this option is not used, the validity check defaults to the current system time\&. michael@0: .RE michael@0: .PP michael@0: \-c issuer michael@0: .RS 4 michael@0: Identify the certificate of the CA from which a new certificate will derive its authenticity\&. Use the exact nickname or alias of the CA certificate, or use the CA\*(Aqs email address\&. Bracket the issuer string with quotation marks if it contains spaces\&. michael@0: .RE michael@0: .PP michael@0: \-d [prefix]directory michael@0: .RS 4 michael@0: Specify the database directory containing the certificate and key database files\&. michael@0: .sp michael@0: \fBcertutil\fR michael@0: supports two types of databases: the legacy security databases (cert8\&.db, michael@0: key3\&.db, and michael@0: secmod\&.db) and new SQLite databases (cert9\&.db, michael@0: key4\&.db, and michael@0: pkcs11\&.txt)\&. michael@0: .sp michael@0: NSS recognizes the following prefixes: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBsql:\fR michael@0: requests the newer database michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBdbm:\fR michael@0: requests the legacy database michael@0: .RE michael@0: .sp michael@0: If no prefix is specified the default type is retrieved from NSS_DEFAULT_DB_TYPE\&. If NSS_DEFAULT_DB_TYPE is not set then michael@0: \fBdbm:\fR michael@0: is the default\&. michael@0: .RE michael@0: .PP michael@0: \-e michael@0: .RS 4 michael@0: Check a certificate\*(Aqs signature during the process of validating a certificate\&. michael@0: .RE michael@0: .PP michael@0: \-\-email email\-address michael@0: .RS 4 michael@0: Specify the email address of a certificate to list\&. Used with the \-L command option\&. michael@0: .RE michael@0: .PP michael@0: \-f password\-file michael@0: .RS 4 michael@0: Specify a file that will automatically supply the password to include in a certificate or to access a certificate database\&. This is a plain\-text file containing one password\&. Be sure to prevent unauthorized access to this file\&. michael@0: .RE michael@0: .PP michael@0: \-g keysize michael@0: .RS 4 michael@0: Set a key size to use when generating new public and private key pairs\&. The minimum is 512 bits and the maximum is 16384 bits\&. The default is 1024 bits\&. Any size between the minimum and maximum is allowed\&. michael@0: .RE michael@0: .PP michael@0: \-h tokenname michael@0: .RS 4 michael@0: Specify the name of a token to use or act on\&. If not specified the default token is the internal database slot\&. michael@0: .RE michael@0: .PP michael@0: \-i input_file michael@0: .RS 4 michael@0: Pass an input file to the command\&. Depending on the command option, an input file can be a specific certificate, a certificate request file, or a batch file of commands\&. michael@0: .RE michael@0: .PP michael@0: \-k key\-type\-or\-id michael@0: .RS 4 michael@0: Specify the type or specific ID of a key\&. michael@0: .sp michael@0: The valid key type options are rsa, dsa, ec, or all\&. The default value is rsa\&. Specifying the type of key can avoid mistakes caused by duplicate nicknames\&. Giving a key type generates a new key pair; giving the ID of an existing key reuses that key pair (which is required to renew certificates)\&. michael@0: .RE michael@0: .PP michael@0: \-l michael@0: .RS 4 michael@0: Display detailed information when validating a certificate with the \-V option\&. michael@0: .RE michael@0: .PP michael@0: \-m serial\-number michael@0: .RS 4 michael@0: Assign a unique serial number to a certificate being created\&. This operation should be performed by a CA\&. If no serial number is provided a default serial number is made from the current time\&. Serial numbers are limited to integers michael@0: .RE michael@0: .PP michael@0: \-n nickname michael@0: .RS 4 michael@0: Specify the nickname of a certificate or key to list, create, add to a database, modify, or validate\&. Bracket the nickname string with quotation marks if it contains spaces\&. michael@0: .RE michael@0: .PP michael@0: \-o output\-file michael@0: .RS 4 michael@0: Specify the output file name for new certificates or binary certificate requests\&. Bracket the output\-file string with quotation marks if it contains spaces\&. If this argument is not used the output destination defaults to standard output\&. michael@0: .RE michael@0: .PP michael@0: \-P dbPrefix michael@0: .RS 4 michael@0: Specify the prefix used on the certificate and key database file\&. This argument is provided to support legacy servers\&. Most applications do not use a database prefix\&. michael@0: .RE michael@0: .PP michael@0: \-p phone michael@0: .RS 4 michael@0: Specify a contact telephone number to include in new certificates or certificate requests\&. Bracket this string with quotation marks if it contains spaces\&. michael@0: .RE michael@0: .PP michael@0: \-q pqgfile or curve\-name michael@0: .RS 4 michael@0: Read an alternate PQG value from the specified file when generating DSA key pairs\&. If this argument is not used, michael@0: \fBcertutil\fR michael@0: generates its own PQG value\&. PQG files are created with a separate DSA utility\&. michael@0: .sp michael@0: Elliptic curve name is one of the ones from SUITE B: nistp256, nistp384, nistp521 michael@0: .sp michael@0: If NSS has been compiled with support curves outside of SUITE B: sect163k1, nistk163, sect163r1, sect163r2, nistb163, sect193r1, sect193r2, sect233k1, nistk233, sect233r1, nistb233, sect239k1, sect283k1, nistk283, sect283r1, nistb283, sect409k1, nistk409, sect409r1, nistb409, sect571k1, nistk571, sect571r1, nistb571, secp160k1, secp160r1, secp160r2, secp192k1, secp192r1, nistp192, secp224k1, secp224r1, nistp224, secp256k1, secp256r1, secp384r1, secp521r1, prime192v1, prime192v2, prime192v3, prime239v1, prime239v2, prime239v3, c2pnb163v1, c2pnb163v2, c2pnb163v3, c2pnb176v1, c2tnb191v1, c2tnb191v2, c2tnb191v3, c2pnb208w1, c2tnb239v1, c2tnb239v2, c2tnb239v3, c2pnb272w1, c2pnb304w1, c2tnb359w1, c2pnb368w1, c2tnb431r1, secp112r1, secp112r2, secp128r1, secp128r2, sect113r1, sect113r2 sect131r1, sect131r2 michael@0: .RE michael@0: .PP michael@0: \-r michael@0: .RS 4 michael@0: Display a certificate\*(Aqs binary DER encoding when listing information about that certificate with the \-L option\&. michael@0: .RE michael@0: .PP michael@0: \-s subject michael@0: .RS 4 michael@0: Identify a particular certificate owner for new certificates or certificate requests\&. Bracket this string with quotation marks if it contains spaces\&. The subject identification format follows RFC #1485\&. michael@0: .RE michael@0: .PP michael@0: \-t trustargs michael@0: .RS 4 michael@0: Specify the trust attributes to modify in an existing certificate or to apply to a certificate when creating it or adding it to a database\&. There are three available trust categories for each certificate, expressed in the order michael@0: \fISSL, email, object signing\fR michael@0: for each trust setting\&. In each category position, use none, any, or all of the attribute codes: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBp\fR michael@0: \- Valid peer michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBP\fR michael@0: \- Trusted peer (implies p) michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBc\fR michael@0: \- Valid CA michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBT\fR michael@0: \- Trusted CA (implies c) michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBC\fR michael@0: \- trusted CA for client authentication (ssl server only) michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBu\fR michael@0: \- user michael@0: .RE michael@0: .sp michael@0: The attribute codes for the categories are separated by commas, and the entire set of attributes enclosed by quotation marks\&. For example: michael@0: .sp michael@0: \fB\-t "TCu,Cu,Tu"\fR michael@0: .sp michael@0: Use the \-L option to see a list of the current certificates and trust attributes in a certificate database\&. michael@0: .RE michael@0: .PP michael@0: \-u certusage michael@0: .RS 4 michael@0: Specify a usage context to apply when validating a certificate with the \-V option\&. michael@0: .sp michael@0: The contexts are the following: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBC\fR michael@0: (as an SSL client) michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBV\fR michael@0: (as an SSL server) michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBS\fR michael@0: (as an email signer) michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBR\fR michael@0: (as an email recipient) michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBO\fR michael@0: (as an OCSP status responder) michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fBJ\fR michael@0: (as an object signer) michael@0: .RE michael@0: .RE michael@0: .PP michael@0: \-v valid\-months michael@0: .RS 4 michael@0: Set the number of months a new certificate will be valid\&. The validity period begins at the current system time unless an offset is added or subtracted with the michael@0: \fB\-w\fR michael@0: option\&. If this argument is not used, the default validity period is three months\&. michael@0: .RE michael@0: .PP michael@0: \-w offset\-months michael@0: .RS 4 michael@0: Set an offset from the current system time, in months, for the beginning of a certificate\*(Aqs validity period\&. Use when creating the certificate or adding it to a database\&. Express the offset in integers, using a minus sign (\-) to indicate a negative offset\&. If this argument is not used, the validity period begins at the current system time\&. The length of the validity period is set with the \-v argument\&. michael@0: .RE michael@0: .PP michael@0: \-X michael@0: .RS 4 michael@0: Force the key and certificate database to open in read\-write mode\&. This is used with the michael@0: \fB\-U\fR michael@0: and michael@0: \fB\-L\fR michael@0: command options\&. michael@0: .RE michael@0: .PP michael@0: \-x michael@0: .RS 4 michael@0: Use michael@0: \fBcertutil\fR michael@0: to generate the signature for a certificate being created or added to a database, rather than obtaining a signature from a separate CA\&. michael@0: .RE michael@0: .PP michael@0: \-y exp michael@0: .RS 4 michael@0: Set an alternate exponent value to use in generating a new RSA public key for the database, instead of the default value of 65537\&. The available alternate values are 3 and 17\&. michael@0: .RE michael@0: .PP michael@0: \-z noise\-file michael@0: .RS 4 michael@0: Read a seed value from the specified file to generate a new private and public key pair\&. This argument makes it possible to use hardware\-generated seed values or manually create a value from the keyboard\&. The minimum file size is 20 bytes\&. michael@0: .RE michael@0: .PP michael@0: \-0 SSO_password michael@0: .RS 4 michael@0: Set a site security officer password on a token\&. michael@0: .RE michael@0: .PP michael@0: \-1 | \-\-keyUsage keyword,keyword michael@0: .RS 4 michael@0: Set an X\&.509 V3 Certificate Type Extension in the certificate\&. There are several available keywords: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: digitalSignature michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: nonRepudiation michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: keyEncipherment michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: dataEncipherment michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: keyAgreement michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: certSigning michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: crlSigning michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: critical michael@0: .RE michael@0: .RE michael@0: .PP michael@0: \-2 michael@0: .RS 4 michael@0: Add a basic constraint extension to a certificate that is being created or added to a database\&. This extension supports the certificate chain verification process\&. michael@0: \fBcertutil\fR michael@0: prompts for the certificate constraint extension to select\&. michael@0: .sp michael@0: X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-3 michael@0: .RS 4 michael@0: Add an authority key ID extension to a certificate that is being created or added to a database\&. This extension supports the identification of a particular certificate, from among multiple certificates associated with one subject name, as the correct issuer of a certificate\&. The Certificate Database Tool will prompt you to select the authority key ID extension\&. michael@0: .sp michael@0: X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-4 michael@0: .RS 4 michael@0: Add a CRL distribution point extension to a certificate that is being created or added to a database\&. This extension identifies the URL of a certificate\*(Aqs associated certificate revocation list (CRL)\&. michael@0: \fBcertutil\fR michael@0: prompts for the URL\&. michael@0: .sp michael@0: X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-5 | \-\-nsCertType keyword,keyword michael@0: .RS 4 michael@0: Add an X\&.509 V3 certificate type extension to a certificate that is being created or added to the database\&. There are several available keywords: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: sslClient michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: sslServer michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: smime michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: objectSigning michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: sslCA michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: smimeCA michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: objectSigningCA michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: critical michael@0: .RE michael@0: .sp michael@0: X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-6 | \-\-extKeyUsage keyword,keyword michael@0: .RS 4 michael@0: Add an extended key usage extension to a certificate that is being created or added to the database\&. Several keywords are available: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: serverAuth michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: clientAuth michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: codeSigning michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: emailProtection michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: timeStamp michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: ocspResponder michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: stepUp michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: msTrustListSign michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: critical michael@0: .RE michael@0: .sp michael@0: X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-7 emailAddrs michael@0: .RS 4 michael@0: Add a comma\-separated list of email addresses to the subject alternative name extension of a certificate or certificate request that is being created or added to the database\&. Subject alternative name extensions are described in Section 4\&.2\&.1\&.7 of RFC 3280\&. michael@0: .RE michael@0: .PP michael@0: \-8 dns\-names michael@0: .RS 4 michael@0: Add a comma\-separated list of DNS names to the subject alternative name extension of a certificate or certificate request that is being created or added to the database\&. Subject alternative name extensions are described in Section 4\&.2\&.1\&.7 of RFC 3280\&. michael@0: .RE michael@0: .PP michael@0: \-\-extAIA michael@0: .RS 4 michael@0: Add the Authority Information Access extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-\-extSIA michael@0: .RS 4 michael@0: Add the Subject Information Access extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-\-extCP michael@0: .RS 4 michael@0: Add the Certificate Policies extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-\-extPM michael@0: .RS 4 michael@0: Add the Policy Mappings extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-\-extPC michael@0: .RS 4 michael@0: Add the Policy Constraints extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-\-extIA michael@0: .RS 4 michael@0: Add the Inhibit Any Policy Access extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-\-extSKID michael@0: .RS 4 michael@0: Add the Subject Key ID extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-\-extNC michael@0: .RS 4 michael@0: Add a Name Constraint extension to the certificate\&. X\&.509 certificate extensions are described in RFC 5280\&. michael@0: .RE michael@0: .PP michael@0: \-\-empty\-password michael@0: .RS 4 michael@0: Use empty password when creating new certificate database with \-N\&. michael@0: .RE michael@0: .PP michael@0: \-\-keyAttrFlags attrflags michael@0: .RS 4 michael@0: PKCS #11 key Attributes\&. Comma separated list of key attribute flags, selected from the following list of choices: {token | session} {public | private} {sensitive | insensitive} {modifiable | unmodifiable} {extractable | unextractable} michael@0: .RE michael@0: .PP michael@0: \-\-keyOpFlagsOn opflags, \-\-keyOpFlagsOff opflags michael@0: .RS 4 michael@0: PKCS #11 key Operation Flags\&. Comma separated list of one or more of the following: {token | session} {public | private} {sensitive | insensitive} {modifiable | unmodifiable} {extractable | unextractable} michael@0: .RE michael@0: .PP michael@0: \-\-source\-dir certdir michael@0: .RS 4 michael@0: Identify the certificate database directory to upgrade\&. michael@0: .RE michael@0: .PP michael@0: \-\-source\-prefix certdir michael@0: .RS 4 michael@0: Give the prefix of the certificate and key databases to upgrade\&. michael@0: .RE michael@0: .PP michael@0: \-\-upgrade\-id uniqueID michael@0: .RS 4 michael@0: Give the unique ID of the database to upgrade\&. michael@0: .RE michael@0: .PP michael@0: \-\-upgrade\-token\-name name michael@0: .RS 4 michael@0: Set the name of the token to use while it is being upgraded\&. michael@0: .RE michael@0: .PP michael@0: \-@ pwfile michael@0: .RS 4 michael@0: Give the name of a password file to use for the database being upgraded\&. michael@0: .RE michael@0: .SH "USAGE AND EXAMPLES" michael@0: .PP michael@0: Most of the command options in the examples listed here have more arguments available\&. The arguments included in these examples are the most common ones or are used to illustrate a specific scenario\&. Use the michael@0: \fB\-H\fR michael@0: option to show the complete list of arguments for each command option\&. michael@0: .PP michael@0: \fBCreating New Security Databases\fR michael@0: .PP michael@0: Certificates, keys, and security modules related to managing certificates are stored in three related databases: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: cert8\&.db or cert9\&.db michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: key3\&.db or key4\&.db michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: secmod\&.db or pkcs11\&.txt michael@0: .RE michael@0: .PP michael@0: These databases must be created before certificates or keys can be generated\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-N \-d [sql:]directory michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBCreating a Certificate Request\fR michael@0: .PP michael@0: A certificate request contains most or all of the information that is used to generate the final certificate\&. This request is submitted separately to a certificate authority and is then approved by some mechanism (automatically or by human review)\&. Once the request is approved, then the certificate is generated\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-R \-k key\-type\-or\-id [\-q pqgfile|curve\-name] \-g key\-size \-s subject [\-h tokenname] \-d [sql:]directory [\-p phone] [\-o output\-file] [\-a] michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: The michael@0: \fB\-R\fR michael@0: command options requires four arguments: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fB\-k\fR michael@0: to specify either the key type to generate or, when renewing a certificate, the existing key pair to use michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fB\-g\fR michael@0: to set the keysize of the key to generate michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fB\-s\fR michael@0: to set the subject name of the certificate michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: \fB\-d\fR michael@0: to give the security database directory michael@0: .RE michael@0: .PP michael@0: The new certificate request can be output in ASCII format (\fB\-a\fR) or can be written to a specified file (\fB\-o\fR)\&. michael@0: .PP michael@0: For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-R \-k rsa \-g 1024 \-s "CN=John Smith,O=Example Corp,L=Mountain View,ST=California,C=US" \-d sql:$HOME/nssdb \-p 650\-555\-0123 \-a \-o cert\&.cer michael@0: michael@0: Generating key\&. This may take a few moments\&.\&.\&. michael@0: michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBCreating a Certificate\fR michael@0: .PP michael@0: A valid certificate must be issued by a trusted CA\&. This can be done by specifying a CA certificate (\fB\-c\fR) that is stored in the certificate database\&. If a CA key pair is not available, you can create a self\-signed certificate using the michael@0: \fB\-x\fR michael@0: argument with the michael@0: \fB\-S\fR michael@0: command option\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-S \-k rsa|dsa|ec \-n certname \-s subject [\-c issuer |\-x] \-t trustargs \-d [sql:]directory [\-m serial\-number] [\-v valid\-months] [\-w offset\-months] [\-p phone] [\-1] [\-2] [\-3] [\-4] [\-5 keyword] [\-6 keyword] [\-7 emailAddress] [\-8 dns\-names] [\-\-extAIA] [\-\-extSIA] [\-\-extCP] [\-\-extPM] [\-\-extPC] [\-\-extIA] [\-\-extSKID] michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: The series of numbers and michael@0: \fB\-\-ext*\fR michael@0: options set certificate extensions that can be added to the certificate when it is generated by the CA\&. Interactive prompts will result\&. michael@0: .PP michael@0: For example, this creates a self\-signed certificate: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-S \-s "CN=Example CA" \-n my\-ca\-cert \-x \-t "C,C,C" \-1 \-2 \-5 \-m 3650 michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: The interative prompts for key usage and whether any extensions are critical and responses have been ommitted for brevity\&. michael@0: .PP michael@0: From there, new certificates can reference the self\-signed certificate: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-S \-s "CN=My Server Cert" \-n my\-server\-cert \-c "my\-ca\-cert" \-t "u,u,u" \-1 \-5 \-6 \-8 \-m 730 michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBGenerating a Certificate from a Certificate Request\fR michael@0: .PP michael@0: When a certificate request is created, a certificate can be generated by using the request and then referencing a certificate authority signing certificate (the michael@0: \fIissuer\fR michael@0: specified in the michael@0: \fB\-c\fR michael@0: argument)\&. The issuing certificate must be in the certificate database in the specified directory\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-C \-c issuer \-i cert\-request\-file \-o output\-file [\-m serial\-number] [\-v valid\-months] [\-w offset\-months] \-d [sql:]directory [\-1] [\-2] [\-3] [\-4] [\-5 keyword] [\-6 keyword] [\-7 emailAddress] [\-8 dns\-names] michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-C \-c "my\-ca\-cert" \-i /home/certs/cert\&.req \-o cert\&.cer \-m 010 \-v 12 \-w 1 \-d sql:$HOME/nssdb \-1 nonRepudiation,dataEncipherment \-5 sslClient \-6 clientAuth \-7 jsmith@example\&.com michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBListing Certificates\fR michael@0: .PP michael@0: The michael@0: \fB\-L\fR michael@0: command option lists all of the certificates listed in the certificate database\&. The path to the directory (\fB\-d\fR) is required\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-L \-d sql:/home/my/sharednssdb michael@0: michael@0: Certificate Nickname Trust Attributes michael@0: SSL,S/MIME,JAR/XPI michael@0: michael@0: CA Administrator of Instance pki\-ca1\*(Aqs Example Domain ID u,u,u michael@0: TPS Administrator\*(Aqs Example Domain ID u,u,u michael@0: Google Internet Authority ,, michael@0: Certificate Authority \- Example Domain CT,C,C michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: Using additional arguments with michael@0: \fB\-L\fR michael@0: can return and print the information for a single, specific certificate\&. For example, the michael@0: \fB\-n\fR michael@0: argument passes the certificate name, while the michael@0: \fB\-a\fR michael@0: argument prints the certificate in ASCII format: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-L \-d sql:$HOME/nssdb \-a \-n my\-ca\-cert michael@0: \-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\- michael@0: MIIB1DCCAT2gAwIBAgICDkIwDQYJKoZIhvcNAQEFBQAwFTETMBEGA1UEAxMKRXhh michael@0: bXBsZSBDQTAeFw0xMzAzMTMxOTEwMjlaFw0xMzA2MTMxOTEwMjlaMBUxEzARBgNV michael@0: BAMTCkV4YW1wbGUgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJ4Kzqvz michael@0: JyBVgFqDXRYSyTBNw1DrxUU/3GvWA/ngjAwHEv0Cul/6sO/gsCvnABHiH6unns6x michael@0: XRzPORlC2WY3gkk7vmlsLvYpyecNazAi/NAwVnU/66HOsaoVFWE+gBQo99UrN2yk michael@0: 0BiK/GMFlLm5dXQROgA9ZKKyFdI0LIXtf6SbAgMBAAGjMzAxMBEGCWCGSAGG+EIB michael@0: AQQEAwIHADAMBgNVHRMEBTADAQH/MA4GA1UdDwEB/wQEAwICBDANBgkqhkiG9w0B michael@0: AQUFAAOBgQA6chkzkACN281d1jKMrc+RHG2UMaQyxiteaLVZO+Ro1nnRUvseDf09 michael@0: XKYFwPMJjWCihVku6bw/ihZfuMHhxK22Nue6inNQ6eDu7WmrqL8z3iUrQwxs+WiF michael@0: ob2rb8XRVVJkzXdXxlk4uo3UtNvw8sAz7sWD71qxKaIHU5q49zijfg== michael@0: \-\-\-\-\-END CERTIFICATE\-\-\-\-\- michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: For a human\-readable display michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-L \-d sql:$HOME/nssdb \-n my\-ca\-cert michael@0: Certificate: michael@0: Data: michael@0: Version: 3 (0x2) michael@0: Serial Number: 3650 (0xe42) michael@0: Signature Algorithm: PKCS #1 SHA\-1 With RSA Encryption michael@0: Issuer: "CN=Example CA" michael@0: Validity: michael@0: Not Before: Wed Mar 13 19:10:29 2013 michael@0: Not After : Thu Jun 13 19:10:29 2013 michael@0: Subject: "CN=Example CA" michael@0: Subject Public Key Info: michael@0: Public Key Algorithm: PKCS #1 RSA Encryption michael@0: RSA Public Key: michael@0: Modulus: michael@0: 9e:0a:ce:ab:f3:27:20:55:80:5a:83:5d:16:12:c9:30: michael@0: 4d:c3:50:eb:c5:45:3f:dc:6b:d6:03:f9:e0:8c:0c:07: michael@0: 12:fd:02:ba:5f:fa:b0:ef:e0:b0:2b:e7:00:11:e2:1f: michael@0: ab:a7:9e:ce:b1:5d:1c:cf:39:19:42:d9:66:37:82:49: michael@0: 3b:be:69:6c:2e:f6:29:c9:e7:0d:6b:30:22:fc:d0:30: michael@0: 56:75:3f:eb:a1:ce:b1:aa:15:15:61:3e:80:14:28:f7: michael@0: d5:2b:37:6c:a4:d0:18:8a:fc:63:05:94:b9:b9:75:74: michael@0: 11:3a:00:3d:64:a2:b2:15:d2:34:2c:85:ed:7f:a4:9b michael@0: Exponent: 65537 (0x10001) michael@0: Signed Extensions: michael@0: Name: Certificate Type michael@0: Data: none michael@0: michael@0: Name: Certificate Basic Constraints michael@0: Data: Is a CA with no maximum path length\&. michael@0: michael@0: Name: Certificate Key Usage michael@0: Critical: True michael@0: Usages: Certificate Signing michael@0: michael@0: Signature Algorithm: PKCS #1 SHA\-1 With RSA Encryption michael@0: Signature: michael@0: 3a:72:19:33:90:00:8d:db:cd:5d:d6:32:8c:ad:cf:91: michael@0: 1c:6d:94:31:a4:32:c6:2b:5e:68:b5:59:3b:e4:68:d6: michael@0: 79:d1:52:fb:1e:0d:fd:3d:5c:a6:05:c0:f3:09:8d:60: michael@0: a2:85:59:2e:e9:bc:3f:8a:16:5f:b8:c1:e1:c4:ad:b6: michael@0: 36:e7:ba:8a:73:50:e9:e0:ee:ed:69:ab:a8:bf:33:de: michael@0: 25:2b:43:0c:6c:f9:68:85:a1:bd:ab:6f:c5:d1:55:52: michael@0: 64:cd:77:57:c6:59:38:ba:8d:d4:b4:db:f0:f2:c0:33: michael@0: ee:c5:83:ef:5a:b1:29:a2:07:53:9a:b8:f7:38:a3:7e michael@0: Fingerprint (MD5): michael@0: 86:D8:A5:8B:8A:26:BE:9E:17:A8:7B:66:10:6B:27:80 michael@0: Fingerprint (SHA1): michael@0: 48:78:09:EF:C5:D4:0C:BD:D2:64:45:59:EB:03:13:15:F7:A9:D6:F7 michael@0: michael@0: Certificate Trust Flags: michael@0: SSL Flags: michael@0: Valid CA michael@0: Trusted CA michael@0: User michael@0: Email Flags: michael@0: Valid CA michael@0: Trusted CA michael@0: User michael@0: Object Signing Flags: michael@0: Valid CA michael@0: Trusted CA michael@0: User michael@0: michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBListing Keys\fR michael@0: .PP michael@0: Keys are the original material used to encrypt certificate data\&. The keys generated for certificates are stored separately, in the key database\&. michael@0: .PP michael@0: To list all keys in the database, use the michael@0: \fB\-K\fR michael@0: command option and the (required) michael@0: \fB\-d\fR michael@0: argument to give the path to the directory\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-K \-d sql:$HOME/nssdb michael@0: certutil: Checking token "NSS Certificate DB" in slot "NSS User Private Key and Certificate Services " michael@0: < 0> rsa 455a6673bde9375c2887ec8bf8016b3f9f35861d Thawte Freemail Member\*(Aqs Thawte Consulting (Pty) Ltd\&. ID michael@0: < 1> rsa 40defeeb522ade11090eacebaaf1196a172127df Example Domain Administrator Cert michael@0: < 2> rsa 1d0b06f44f6c03842f7d4f4a1dc78b3bcd1b85a5 John Smith user cert michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: There are ways to narrow the keys listed in the search results: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: To return a specific key, use the michael@0: \fB\-n\fR\fIname\fR michael@0: argument with the name of the key\&. michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: If there are multiple security devices loaded, then the michael@0: \fB\-h\fR\fItokenname\fR michael@0: argument can search a specific token or all tokens\&. michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: If there are multiple key types available, then the michael@0: \fB\-k\fR\fIkey\-type\fR michael@0: argument can search a specific type of key, like RSA, DSA, or ECC\&. michael@0: .RE michael@0: .PP michael@0: \fBListing Security Modules\fR michael@0: .PP michael@0: The devices that can be used to store certificates \-\- both internal databases and external devices like smart cards \-\- are recognized and used by loading security modules\&. The michael@0: \fB\-U\fR michael@0: command option lists all of the security modules listed in the michael@0: secmod\&.db michael@0: database\&. The path to the directory (\fB\-d\fR) is required\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-U \-d sql:/home/my/sharednssdb michael@0: michael@0: slot: NSS User Private Key and Certificate Services michael@0: token: NSS Certificate DB michael@0: michael@0: slot: NSS Internal Cryptographic Services michael@0: token: NSS Generic Crypto Services michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBAdding Certificates to the Database\fR michael@0: .PP michael@0: Existing certificates or certificate requests can be added manually to the certificate database, even if they were generated elsewhere\&. This uses the michael@0: \fB\-A\fR michael@0: command option\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-A \-n certname \-t trustargs \-d [sql:]directory [\-a] [\-i input\-file] michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-A \-n "CN=My SSL Certificate" \-t "u,u,u" \-d sql:/home/my/sharednssdb \-i /home/example\-certs/cert\&.cer michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: A related command option, michael@0: \fB\-E\fR, is used specifically to add email certificates to the certificate database\&. The michael@0: \fB\-E\fR michael@0: command has the same arguments as the michael@0: \fB\-A\fR michael@0: command\&. The trust arguments for certificates have the format michael@0: \fISSL,S/MIME,Code\-signing\fR, so the middle trust settings relate most to email certificates (though the others can be set)\&. For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-E \-n "CN=John Smith Email Cert" \-t ",Pu," \-d sql:/home/my/sharednssdb \-i /home/example\-certs/email\&.cer michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBDeleting Certificates to the Database\fR michael@0: .PP michael@0: Certificates can be deleted from a database using the michael@0: \fB\-D\fR michael@0: option\&. The only required options are to give the security database directory and to identify the certificate nickname\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-D \-d [sql:]directory \-n "nickname" michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-D \-d sql:/home/my/sharednssdb \-n "my\-ssl\-cert" michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBValidating Certificates\fR michael@0: .PP michael@0: A certificate contains an expiration date in itself, and expired certificates are easily rejected\&. However, certificates can also be revoked before they hit their expiration date\&. Checking whether a certificate has been revoked requires validating the certificate\&. Validation can also be used to ensure that the certificate is only used for the purposes it was initially issued for\&. Validation is carried out by the michael@0: \fB\-V\fR michael@0: command option\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-V \-n certificate\-name [\-b time] [\-e] [\-u cert\-usage] \-d [sql:]directory michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: For example, to validate an email certificate: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-V \-n "John Smith\*(Aqs Email Cert" \-e \-u S,R \-d sql:/home/my/sharednssdb michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBModifying Certificate Trust Settings\fR michael@0: .PP michael@0: The trust settings (which relate to the operations that a certificate is allowed to be used for) can be changed after a certificate is created or added to the database\&. This is especially useful for CA certificates, but it can be performed for any type of certificate\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-M \-n certificate\-name \-t trust\-args \-d [sql:]directory michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-M \-n "My CA Certificate" \-d sql:/home/my/sharednssdb \-t "CTu,CTu,CTu" michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBPrinting the Certificate Chain\fR michael@0: .PP michael@0: Certificates can be issued in michael@0: \fIchains\fR michael@0: because every certificate authority itself has a certificate; when a CA issues a certificate, it essentially stamps that certificate with its own fingerprint\&. The michael@0: \fB\-O\fR michael@0: prints the full chain of a certificate, going from the initial CA (the root CA) through ever intermediary CA to the actual certificate\&. For example, for an email certificate with two CAs in the chain: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-d sql:/home/my/sharednssdb \-O \-n "jsmith@example\&.com" michael@0: "Builtin Object Token:Thawte Personal Freemail CA" [E=personal\-freemail@thawte\&.com,CN=Thawte Personal Freemail CA,OU=Certification Services Division,O=Thawte Consulting,L=Cape Town,ST=Western Cape,C=ZA] michael@0: michael@0: "Thawte Personal Freemail Issuing CA \- Thawte Consulting" [CN=Thawte Personal Freemail Issuing CA,O=Thawte Consulting (Pty) Ltd\&.,C=ZA] michael@0: michael@0: "(null)" [E=jsmith@example\&.com,CN=Thawte Freemail Member] michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBResetting a Token\fR michael@0: .PP michael@0: The device which stores certificates \-\- both external hardware devices and internal software databases \-\- can be blanked and reused\&. This operation is performed on the device which stores the data, not directly on the security databases, so the location must be referenced through the token name (\fB\-h\fR) as well as any directory path\&. If there is no external token used, the default value is internal\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-T \-d [sql:]directory \-h token\-name \-0 security\-officer\-password michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: Many networks have dedicated personnel who handle changes to security tokens (the security officer)\&. This person must supply the password to access the specified token\&. For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-T \-d sql:/home/my/sharednssdb \-h nethsm \-0 secret michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBUpgrading or Merging the Security Databases\fR michael@0: .PP michael@0: Many networks or applications may be using older BerkeleyDB versions of the certificate database (cert8\&.db)\&. Databases can be upgraded to the new SQLite version of the database (cert9\&.db) using the michael@0: \fB\-\-upgrade\-merge\fR michael@0: command option or existing databases can be merged with the new michael@0: cert9\&.db michael@0: databases using the michael@0: \fB\-\-\-merge\fR michael@0: command\&. michael@0: .PP michael@0: The michael@0: \fB\-\-upgrade\-merge\fR michael@0: command must give information about the original database and then use the standard arguments (like michael@0: \fB\-d\fR) to give the information about the new databases\&. The command also requires information that the tool uses for the process to upgrade and write over the original database\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-\-upgrade\-merge \-d [sql:]directory [\-P dbprefix] \-\-source\-dir directory \-\-source\-prefix dbprefix \-\-upgrade\-id id \-\-upgrade\-token\-name name [\-@ password\-file] michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-\-upgrade\-merge \-d sql:/home/my/sharednssdb \-\-source\-dir /opt/my\-app/alias/ \-\-source\-prefix serverapp\- \-\-upgrade\-id 1 \-\-upgrade\-token\-name internal michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: The michael@0: \fB\-\-merge\fR michael@0: command only requires information about the location of the original database; since it doesn\*(Aqt change the format of the database, it can write over information without performing interim step\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: certutil \-\-merge \-d [sql:]directory [\-P dbprefix] \-\-source\-dir directory \-\-source\-prefix dbprefix [\-@ password\-file] michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-\-merge \-d sql:/home/my/sharednssdb \-\-source\-dir /opt/my\-app/alias/ \-\-source\-prefix serverapp\- michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: \fBRunning certutil Commands from a Batch File\fR michael@0: .PP michael@0: A series of commands can be run sequentially from a text file with the michael@0: \fB\-B\fR michael@0: command option\&. The only argument for this specifies the input file\&. michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-B \-i /path/to/batch\-file michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .SH "NSS DATABASE TYPES" michael@0: .PP michael@0: NSS originally used BerkeleyDB databases to store security information\&. The last versions of these michael@0: \fIlegacy\fR michael@0: databases are: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: cert8\&.db for certificates michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: key3\&.db for keys michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: secmod\&.db for PKCS #11 module information michael@0: .RE michael@0: .PP michael@0: BerkeleyDB has performance limitations, though, which prevent it from being easily used by multiple applications simultaneously\&. NSS has some flexibility that allows applications to use their own, independent database engine while keeping a shared database and working around the access issues\&. Still, NSS requires more flexibility to provide a truly shared security database\&. michael@0: .PP michael@0: In 2009, NSS introduced a new set of databases that are SQLite databases rather than BerkeleyDB\&. These new databases provide more accessibility and performance: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: cert9\&.db for certificates michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: key4\&.db for keys michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: pkcs11\&.txt, a listing of all of the PKCS #11 modules, contained in a new subdirectory in the security databases directory michael@0: .RE michael@0: .PP michael@0: Because the SQLite databases are designed to be shared, these are the michael@0: \fIshared\fR michael@0: database type\&. The shared database type is preferred; the legacy format is included for backward compatibility\&. michael@0: .PP michael@0: By default, the tools (\fBcertutil\fR, michael@0: \fBpk12util\fR, michael@0: \fBmodutil\fR) assume that the given security databases follow the more common legacy type\&. Using the SQLite databases must be manually specified by using the michael@0: \fBsql:\fR michael@0: prefix with the given security directory\&. For example: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: $ certutil \-L \-d sql:/home/my/sharednssdb michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: To set the shared database type as the default type for the tools, set the michael@0: \fBNSS_DEFAULT_DB_TYPE\fR michael@0: environment variable to michael@0: \fBsql\fR: michael@0: .sp michael@0: .if n \{\ michael@0: .RS 4 michael@0: .\} michael@0: .nf michael@0: export NSS_DEFAULT_DB_TYPE="sql" michael@0: .fi michael@0: .if n \{\ michael@0: .RE michael@0: .\} michael@0: .PP michael@0: This line can be set added to the michael@0: ~/\&.bashrc michael@0: file to make the change permanent\&. michael@0: .PP michael@0: Most applications do not use the shared database by default, but they can be configured to use them\&. For example, this how\-to article covers how to configure Firefox and Thunderbird to use the new shared NSS databases: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: https://wiki\&.mozilla\&.org/NSS_Shared_DB_Howto michael@0: .RE michael@0: .PP michael@0: For an engineering draft on the changes in the shared NSS databases, see the NSS project wiki: michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: https://wiki\&.mozilla\&.org/NSS_Shared_DB michael@0: .RE michael@0: .SH "SEE ALSO" michael@0: .PP michael@0: pk12util (1) michael@0: .PP michael@0: modutil (1) michael@0: .PP michael@0: \fBcertutil\fR michael@0: has arguments or operations that use features defined in several IETF RFCs\&. michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: http://tools\&.ietf\&.org/html/rfc5280 michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: http://tools\&.ietf\&.org/html/rfc1113 michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: http://tools\&.ietf\&.org/html/rfc1485 michael@0: .RE michael@0: .PP michael@0: The NSS wiki has information on the new database design and how to configure applications to use it\&. michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: https://wiki\&.mozilla\&.org/NSS_Shared_DB_Howto michael@0: .RE michael@0: .sp michael@0: .RS 4 michael@0: .ie n \{\ michael@0: \h'-04'\(bu\h'+03'\c michael@0: .\} michael@0: .el \{\ michael@0: .sp -1 michael@0: .IP \(bu 2.3 michael@0: .\} michael@0: https://wiki\&.mozilla\&.org/NSS_Shared_DB michael@0: .RE michael@0: .SH "ADDITIONAL RESOURCES" michael@0: .PP michael@0: For information about NSS and other tools related to NSS (like JSS), check out the NSS project wiki at michael@0: \m[blue]\fBhttp://www\&.mozilla\&.org/projects/security/pki/nss/\fR\m[]\&. The NSS site relates directly to NSS code changes and releases\&. michael@0: .PP michael@0: Mailing lists: https://lists\&.mozilla\&.org/listinfo/dev\-tech\-crypto michael@0: .PP michael@0: IRC: Freenode at #dogtag\-pki michael@0: .SH "AUTHORS" michael@0: .PP michael@0: The NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google\&. michael@0: .PP michael@0: Authors: Elio Maldonado , Deon Lackey \&. michael@0: .SH "LICENSE" michael@0: .PP michael@0: Licensed under the Mozilla Public License, v\&. 2\&.0\&. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla\&.org/MPL/2\&.0/\&. michael@0: .SH "NOTES" michael@0: .IP " 1." 4 michael@0: Mozilla NSS bug 836477 michael@0: .RS 4 michael@0: \%https://bugzilla.mozilla.org/show_bug.cgi?id=836477 michael@0: .RE