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 list-tokens ... p11-kit list-objects ... p11-kit import-object ... p11-kit export-object ... p11-kit delete-object ... p11-kit generate-keypair ... p11-kit list-profiles ... p11-kit add-profile ... p11-kit delete-profile ... p11-kit list-mechanisms ... p11-kit print-config p11-kit extract ... p11-kit server ... 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 Run in verbose mode with debug output. -q, --quiet Run in quiet mode without warning or failure messages. 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. LIST TOKENS List all tokens available in system configured PKCS#11 modules. $ p11-kit list-tokens [--only-uris] pkcs11:token This retrieves all tokens and displays some of their common attributes. If --only-uris is given, only the matching token URIs are printed. LIST OBJECTS List objects matching given PKCS#11 URI. $ p11-kit list-objects [--login] pkcs11:object_on_token This retrieves all objects that match given PKCS#11 URI and displays some of their common attributes. Storage objects also have their PKCS#11 URI displayed. IMPORT OBJECT Import object into PKCS#11 token. $ p11-kit import-object --file=file.pem [--label=label] [--login] pkcs11:token Takes either an X.509 certificate or a public key in the form of a PEM file and imports it into the first token matched by given PKCS#11 URI. --file= File containing either an X.509 certificate or a public key in PEM format. This option is required. --label=