How do I tell openssl rsautl to use the key stored in the TPM?

Is there a (easy) way to create a signature for a file using the openssl rsautl command and command while the required key is stored in the TPM?

I just want to do the following with the "key.pem" key that is stored in the TPM.

openssl rsautl -sign -in file -inkey key.pem -out sig

      

+3


source to share


1 answer


How do I tell openssl rsautl to use the key stored in the TPM?

OpenSSL does not provide ENGINE for TPM. I believe you need to use TrouSerS .



R. Henson made several comments on this on the OpenSSL mailing list in the TPM engine .

+2


source







All Articles