<?xml version="1.0" ?> <!-- PKI service configurations --> <pki:tokenConfig xmlns:pki="http://www.openca.org/openca/pki/1/0/0"> <!-- Token Name --> <pki:name>tpm</pki:name> <!-- Token Type (software, hardware) --> <pki:type>engine</pki:type> <!-- HSM specification for server token --> <pki:hsm>tpm</pki:hsm> <!-- Private key identifier (URI - file:// id:// etc.. ) --> <!-- To create the key, you must donwload and install the tpm engine for OpenSSL, then use the "create_tpm_key" util. The output file of the command is the key to be used with the TPM --> <pki:keypair>file://$HOME/.pki/tpm-key.pem</pki:keypair> <!-- Certificate identifier (URI) --> <pki:cert>file://$HOME/.pki/tpm-cert.pem</pki:cert> <!-- CA Certificate --> <pki:cacert>file://$HOME/.pki/tpm-cacert.pem</pki:cacert> <!-- Where the Password should be read from --> <pki:passin>stdin</pki:passin> <!-- ... or simply specify the password here --> <!-- <pki:password></pki:password> --> <!-- Certificates --> <pki:othercerts>file:://$HOME/.pki/tpm-certs.pem</pki:othercerts> <!-- Or you can specify a .p12 file where all the data are loaded from --> </pki:tokenConfig>