Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell openssl rsautl to use key stored in TPM?

Tags:

linux

openssl

tpm

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

I just want to do the following with "key.pem" being a TPM-stored key.

openssl rsautl -sign -in file -inkey key.pem -out sig
like image 485
Taloncor Avatar asked Nov 23 '25 19:11

Taloncor


1 Answers

How to tell openssl rsautl to use key stored in TPM?

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

Dr. Henson made some comments about it on the OpenSSL mailing list at TPM engine.

like image 163
jww Avatar answered Nov 25 '25 11:11

jww



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!