pki-pkcs12-key(1)
π pki-pkcs12-key β bestie's guide to PKCS #12 key wrangling π
okay so this is the pki-pkcs12-key(1) page, straight outta the PKI PKCS #12 Key Management Commands manual, and it's literally the command-line interface for managing individual keys inside a PKCS #12 file. little keys, big responsibility ποΈβ¨
πΈ NAME πΈ
pki-pkcs12-key β command-line interface for managing individual keys in PKCS #12 file.
β¨ SYNOPSIS β¨
pki [CLI-options] pkcs12-key
pki [CLI-options] pkcs12-key-find [command-options]
pki [CLI-options] pkcs12-key-del key-ID [command-options]
π¦ DESCRIPTION π¦
The pki pkcs12-key commands are literally your group chat with a PKCS #12 file β they provide command-line interfaces to manage keys in a PKCS #12 file. no cap π«Ά
pki [CLI-options] pkcs12-key-find [command-options]β this command is the one that lists keys in a PKCS #12 file. window shopping for keys, iconic.pki [CLI-options] pkcs12-key-del key-ID [command-options]β this command is the one that deletes a key from a PKCS #12 file. bye bestie ππ
π OPTIONS π
The CLI options are described in pki(1). that's the whole section, she's short but she said what she said π
π OPERATIONS π
To view available profile commands, type pki pkcs12-key. To view each command's usage, type pki pkcs12-key-<command> --help.
All pki pkcs12-key commands require a PKCS #12 file and its password, fr fr. here's the tea:
- The PKCS #12 file can be specified with the
--pkcs12-fileparameter. - The password can be specified either directly with the
--pkcs12-passwordparameter, or in a file with the--pkcs12-password-fileparameter.
All pki pkcs12-key commands also require an NSS database and its password β yes, also, she's high maintenance and we love her for it π:
- The NSS database location can be specified with the
-dparameter (default:~/.dogtag/nssdb). - The NSS database password can be specified with the
-cor the-Cparameter.
π Viewing keys in a PKCS #12 file
To list the keys in a PKCS #12 file:
$ pki <NSS database location> <NSS database password> pkcs12-key-find \
<PKCS #12 file> <PKCS #12 password>
π Deleting a key from a PKCS #12 file
To delete a key from a PKCS #12 file:
$ pki <NSS database location> <NSS database password> pkcs12-key-del <key ID> \
<PKCS #12 file> <PKCS #12 password>
π§ SEE ALSO π§
pki-pkcs12(1)β her sibling, go say hi π
π AUTHORS π
Endi S. Dewata edewata@redhat.com. β absolute legend, we stan π
β COPYRIGHT β
Copyright (c) 2016 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.
and that's the whole page, bestie π«Ά this lil slice of the PKI manual is dated Oct 28, 2016, page pki-pkcs12-key(1), and that's a wrap β mwah πβ¨
π¦ 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms