table of contents
P11-KIT(8) | System Commands | P11-KIT(8) |
NAME¶
p11-kit - Tool for operating on configured PKCS#11 modules
SYNOPSIS¶
p11-kit list-modules
p11-kit extract --filter=<what> --format=<type> /path/to/destination
DESCRIPTION¶
p11-kit is a command line tool that can be used to perform operations on PKCS#11 modules configured on the system.
See the various sub commands below. The following global options can be used:
-v, --verbose
-q, --quiet
LIST MODULES¶
List system configured PKCS#11 modules.
$ p11-kit list-modules
The modules, information about them and the tokens present in the PKCS#11 modules will be displayed.
EXTRACT¶
Extract certificates from configured PKCS#11 modules.
$ p11-kit extract --format=x509-directory --filter=ca-anchors /path/to/directory
You can specify the following options to control what to extract. The --filter and --format arguments should be specified. By default this command will not overwrite the destination file or directory.
--comment
--filter=<what>
ca-anchors
trust-policy
blacklist
certificates
pkcs11:object=xx
If an output format is chosen that cannot support type what has been specified by the filter, a message will be printed.
None of the available formats support storage of blacklist entries that do not contain a full certificate. Thus any certificates blacklisted by their issuer and serial number alone, are not included in the extracted blacklist.
--format=<type>
x509-file
x509-directory
pem-bundle
pem-directory
openssl-bundle
openssl-directory
java-cacerts
--overwrite
--purpose=<usage>
server-auth
client-auth
code-signing
1.2.3.4.5...
EXTRACT TRUST¶
Extract standard trust information files.
$ p11-kit extract-trust
OpenSSL, GnuTLS and Java cannot currently read trust information directly from the trust policy module. This command extracts trust information such as certificate anchors for use by these libraries.
What this command does, and where it extracts the files is distribution or site specific. Packagers or administrators are expected customize this command.
BUGS¶
Please send bug reports to either the distribution bug tracker or the upstream bug tracker at https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue&component=p11-kit.
SEE ALSO¶
Further details available in the p11-kit online documentation at http://p11-glue.freedesktop.org/doc/p11-kit/.
p11-kit |