swtpm-localca.conf
Configuration file for swtpm_localca
- Provided by: swtpm-tools (Version: 0.10.1+ds-1ubuntu3)
- Source: swtpm
- Report a bug
Configuration file for swtpm_localca
The file /etc/swtpm-localca.conf contains configuration variables for the swtpm_localca program.
Entries may contain environment variables that will be resolved. All environment variables must be formatted like this: '${varname}'.
Users may write their own configuration into ${XDG_CONFIG_HOME}/swtpm-localca.conf or if XDG_CONFIG_HOME is not set it may be in ${HOME}/.config/swtpm-localca.conf.
The following configuration variables are supported:
The serial number must be a decimal number and must be representable with 20 bytes or less. Once 21 bytes are used a new random serial number with 20 decimal digits will be created.
env:MY_MODULE_PKCS11_CONFIG = /tmp/mymodule-pkcs11.conf
The line must not contain any trailing spaces.
An example swtpm-localca.conf file may look as follows:
statedir = /var/lib/swtpm_localca signingkey = /var/lib/swtpm_localca/signkey.pem issuercert = /var/lib/swtpm_localca/issuercert.pem certserial = /var/lib/swtpm_localca/certserial
With a PKCS11 URI it may look like this:
statedir = /var/lib/swtpm-localca signingkey = pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=891b99c169e41301;token=mylabel;id=%00;object=mykey;type=public issuercert = /var/lib/swtpm-localca/swtpm-localca-tpmca-cert.pem certserial = /var/lib/swtpm-localca/certserial SWTPM_PKCS11_PIN = 1234
swtpm_localca
Report bugs to Stefan Berger <stefanb@linux.vnet.ibm.com>