Skip to content

Tool to generate Endorsement Key Certificate for a TPM2 where the vendor didn't do such

License

Notifications You must be signed in to change notification settings

puiterwijk/tpm2_ek_cert_gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tpm2_ek_cert_gen

This tool will create an Endorsement Key Certificate for a TPM2. Use in case your TPM's vendor decided to be lazy (or non-helpful?) and not insert a EK certificate into your TPM.

Inserting into the TPM, the manual way

openssl x509 -in - -inform pem -out ek.der -outform der

stat ek.der <grab the "size" field>

tpm2_nvdefine -C o -s <size> 0x0100002

tpm2_nvwrite -i ek.der -C o 0x0100002

tpm2_nvread 0x0100002 | openssl x509 -in - -inform der -noout -text

About

Tool to generate Endorsement Key Certificate for a TPM2 where the vendor didn't do such

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages