TPM certificate tool version 0.10.2, Copyright (c) 2015 IBM Corp. Usage: /usr/bin/swtpm_cert [options] Create TPM certificates without requiring the EK private key. The following options are supported: --pubkey : PEM file for public key (EK) --signkey : PEM file for CA signing key or GnuTLS TPM or PKCS11 URL --signkey-password : Password for the CA signing key --signkey-pwd : Alternative password option for CA signing key --parentkey-password

: Password of parent key; SRK password of TPM --parentkey-pwd : Alternative password option for SRK password --issuercert : PEM file with CA cert --out-cert : Filename for certificate --modulus : The modulus of the public key --exponent : The exponent of the public key --ecc-x : ECC key x component --ecc-y : ECC key y component --ecc-curveid : ECC curve id; secp256r1, secp384r1, secp521r1 default: secp256r1 --serial : The certificate serial number --days : Number of days the cert is valid; -1 for no expiration --pem : Write certificate in PEM format; default is DER --type : The type of certificate to create; default is ek --tpm-manufacturer : The name of the TPM manufacturer --tpm-model : The TPM model (part number) --tpm-version : The TPM version (firmware version) --platform-manufacturer : The name of the Platform manufacturer --platform-model : The Platform model (part number) --platform-version : The Platform version (firmware version) --tpm-spec-family : Specification family (string) --tpm-spec-level : Specification level (integer) --tpm-spec-revision : Specification revision (integer) --subject : Subject such as location in format C=US,ST=NY,L=NewYork; not used with TPM1.2 --add-header : Add the TCG certificate header describing a TCG_PCCLIENT_STORED_CERT for TPM1.2 NVRAM --tpm2 : Issue a TPM 2 compliant certificate --allow-signing : The EK of a TPM 2 allows signing; requires --tpm2 --decryption : The EK if a TPM 2 can be used for key encipherment; requires --tpm2 --print-capabilities : Print capabilities and exit --version : Display version and exit --help : Display this help screen and exit The following environment variables are supported: SWTPM_PKCS11_PIN : PKCS11 PIN to use Password passed in 'pwd' options support the following formats: - : direct password - pass: : direct password - fd: : read password from file descriptor - file: : read password from filename - env: : read from environment variable