openCryptoki environment variables
View a table that documents the available openCryptoki environment variables and their purpose.
| Name | Purpose |
|---|---|
PKCSLIB |
Used in some tools as path to the openCryptoki library libopencryptoki.so. You should never change this variable. Maybe useful for debugging information. |
OCK_CONFDIR |
The default path for the p11kmip.conf configuration file is /etc/opencryptoki/ (see The configuration file - p11kmip.conf). You can change this path by using this variable. |
OCK_EP11_LIBRARY |
Specifies the path to the EP11 host library. Only of interest, if multiple EP11 libraries are installed. Normally, you should never change this variable. Maybe useful for debugging information. |
OCK_EP11_TOKEN_DIR |
The standard path for the token-specific EP11 token configuration file is /etc/opencryptoki/. You can change this path by using this variable. |
PKCS_APP_STORE |
Specifies the path to the main directory. Never change this variable. Maybe useful for debugging information. |
PKCS11_SHMEM_FILE |
Used for pointing to the SHM-Key Files. Only of interest, if you run multiple slot manager daemons (pkcsslotd). |
PKCS11_USER_PIN |
Provides a possibility to transfer the User PIN to the p11sak or p11kmip utilities. It is required for running the openCryptoki tests. |
OPENCRYPTOKI_TRACE_LEVEL |
Enables logging support. If the environment variable is not set, logging is disabled by default. |