logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pki-pkcs12-key - Command-line interface for managing individual keys in PKCS #12 file.

Authors

       Endi S. Dewata lt;edewata@redhat.comgt;.

Description

       The pkipkcs12-key commands provide command-line interfaces to manage keys in a PKCS #12 file.

       pki [CLI-options] pkcs12-key-find [command-options]
           This command is to list keys in a PKCS #12 file.

       pki [CLI-options] pkcs12-key-delkey-ID [command-options]
           This command is to delete a key from a PKCS #12 file.

Name

       pki-pkcs12-key - Command-line interface for managing individual keys in PKCS #12 file.

Operations

       To  view  available  profile  commands,  type  pkipkcs12-key.   To  view each command's usage, type pkipkcs12-key-lt;commandgt;--help.

       All pkipkcs12-key commands require a PKCS #12 file and its password.  The PKCS #12 file can be specified
       with  the  --pkcs12-file  parameter.   The  password  can  be  specified   either   directly   with   the
       --pkcs12-password parameter, or in a file with the --pkcs12-password-file parameter.

       All pkipkcs12-key commands also require an NSS database and its password.  The NSS database location can
       be  specified  with  the  -d  parameter  (default:    /.dogtag/nssdb).   The NSS database password can be
       specified with the -c or the -C parameter.

   ViewingkeysinaPKCS#12file
       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>

   DeletingakeyfromaPKCS#12file
       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>

Options

       The CLI options are described in pki(1).

See Also

pki-pkcs12(1)

Synopsis

pki [CLI-options] pkcs12-keypki [CLI-options] pkcs12-key-find [command-options]
       pki [CLI-options] pkcs12-key-delkey-ID [command-options]

See Also