1pki-pkcs12-key(1)    PKI PKCS #12 Key Management Commands    pki-pkcs12-key(1)
2
3
4

NAME

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

SYNOPSIS

11       pki [CLI-options] pkcs12-key
12       pki [CLI-options] pkcs12-key-find [command-options]
13       pki [CLI-options] pkcs12-key-del key-ID [command-options]
14
15

DESCRIPTION

17       The pki pkcs12-key commands provide command-line interfaces  to  manage
18       keys in a PKCS #12 file.
19
20
21       pki [CLI-options] pkcs12-key-find [command-options]
22           This command is to list keys in a PKCS #12 file.
23
24
25       pki [CLI-options] pkcs12-key-del key-ID [command-options]
26           This command is to delete a key from a PKCS #12 file.
27
28

OPTIONS

30       The CLI options are described in pki(1).
31
32

OPERATIONS

34       To  view available profile commands, type pki pkcs12-key.  To view each
35       command's usage, type pki pkcs12-key-lt;commandgt; --help.
36
37
38       All pki pkcs12-key commands require a PKCS #12 file and  its  password.
39       The  PKCS  #12  file can be specified with the --pkcs12-file parameter.
40       The password can be specified either directly with  the  --pkcs12-pass‐
41       word parameter, or in a file with the --pkcs12-password-file parameter.
42
43
44       All  pki pkcs12-key commands also require an NSS database and its pass‐
45       word.  The NSS database location can be specified with the -d parameter
46       (default: ~/.dogtag/nssdb).  The NSS database password can be specified
47       with the -c or the -C parameter.
48
49
50   Viewing keys in a PKCS #12 file
51       To list the keys in a PKCS #12 file:
52
53
54              $ pki <NSS database location> <NSS database password> pkcs12-key-find \
55                  <PKCS #12 file> <PKCS #12 password>
56
57
58
59   Deleting a key from a PKCS #12 file
60       To delete a key from a PKCS #12 file:
61
62
63              $ pki <NSS database location> <NSS database password> pkcs12-key-del <key ID> \
64                  <PKCS #12 file> <PKCS #12 password>
65
66
67

SEE ALSO

69       pki-pkcs12(1)
70
71

AUTHORS

73       Endi S. Dewata lt;edewata@redhat.comgt;.
74
75
77       Copyright (c) 2016 Red Hat, Inc.  This is licensed under the  GNU  Gen‐
78       eral  Public  License,  version  2  (GPLv2).  A copy of this license is
79       available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
80
81
82
83PKI                              Oct 28, 2016                pki-pkcs12-key(1)
Impressum