PKCS10Client(1)
okay bestie, you're reading the PKCS10Client(1) manual page β it's from the PKI family and it's literally the PKCS10Client certificate request tool. i'm your Unix bestie and we're gonna go through every single flag together, no skips, no cap π
β¨
β¨ NAME β¨
PKCS10Client β used to generate a 1024-bit RSA key pair in the security database. that's the whole name job, periodt.
π SYNOPSIS π
PKCS10Client -d NSS-database -h NSS-token -p NSS-password -a algorithm
[-l rsa-key-length] [-c ec-curve-name] -o output-file -n subject-DN
so to get a certificate from the CA, the certificate request needs to be submitted to and approved by a CA agent. once approved, a certificate is created for the request, and certificate attributes, such as extensions, are populated according to certificate profiles. slay.
πΈ DESCRIPTION πΈ
the PKCS #10 utility, PKCS10Client, generates a RSA or EC key pair in the security database, constructs a PKCS #10 certificate request with the public key, and outputs the request to a file. PKCS #10 is a certification request syntax standard defined by RSA. a CA may support multiple types of certificate requests. the Certificate System CA supports KEYGEN, PKCS #10, CRMF, and CMC. iconic.
π OPTIONS π
PKCS10Client parameters, bestie β every single one:
-d NSS-databaseβ the directory containing the NSS database. this is usually the client's personal directory. lowkey important, don't skip it.-h NSS-tokenβ name of the token. by default it takesinternal.-p NSS-tokenβ the password to the token. (yes the flag label saysNSS-tokenbut it's the password, bestie, we don't question the manpage π)-a algorithmβ the algorithm type eitherrsaorec. by default it takesrsa.-l rsa-key-lengthβ the RSA key bit length when-a rsais specified. by default it is1024.-c ec-curve-nameβ elliptic curve cryptography curve name. possible values are (if provided by the crypto module):
nistp256 (secp256r1), nistp384 (secp384r1), nistp521 (secp521r1),
nistk163 (sect163k1),
sect163r1,nistb163 (sect163r2), sect193r1, sect193r2, nistk233
(sect233k1),
nistb233 (sect233r1), sect239k1, nistk283 (sect283k1), nistb283
(sect283r1),
nistk409 (sect409k1), nistb409 (sect409r1), nistk571 (sect571k1),
nistb571 (sect571r1),
secp160k1, secp160r1, secp160r2, secp192k1, nistp192 (secp192r1,
prime192v1), secp224k1,
nistp224 (secp224r1), secp256k1, 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.
that's a whole alphabet of curves, bestie, pick one your crypto module actually provides π
-o output-fileβ sets the path and filename to output the new PKCS #10 certificate in base64 format.-n subject-DNβ gives the subject DN of the certificate.-k enable-encodingβtruefor enabling encoding of attribute values;falsefor default encoding of attribute values; default isfalse.-t temporaryβtruefor temporary(session);falsefor permanent(token); default isfalse.-s sensitivityβ1for sensitive;0for non-sensitive;-1temporaryPairMode dependent; default is-1.-e extractableβ1for extractable;0for non-extractable;-1token dependent; default is-1.
π also optional for ECC key generation β¨
-x ecdh-ecdsaβtruefor SSL cert that does ECDH ECDSA;falseotherwise; defaultfalse.-y ski-extensionβtruefor adding SubjectKeyIdentifier extension for self-signed CMC shared secret requests;falseotherwise; defaultfalse. to be used withrequest.useSharedSecret=truewhen runningCMCRequest.
π«Ά AUTHORS π«Ά
Amol Kahat lt;akahat@redhat.comgt;. that's the human, show some love π
π COPYRIGHT π
Copyright (c) 2017, 2019 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. iconic licensing moment, periodt.
catch you later bestie β this was PKCS10Client(1) from PKI, dated April 28, 2017 ππ
π¦ where this page comes from
- centos-stream 9: idm-pki-tools 11.7.1-1.el9 Β· GPL-2.0-only AND LGPL-2.0-only
- centos-stream 9: pki-tools 11.2.0-0.2.beta1.el9 Β· GPLv2 and LGPLv2
- ubuntu jammy: pki-tools 11.0.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms