* [tpm2] Loading certificate inside TPM
@ 2020-07-09 13:48 CHOTARD Clement
0 siblings, 0 replies; only message in thread
From: CHOTARD Clement @ 2020-07-09 13:48 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
Hi,
I am trying to load a certificate in the TPM through this command:
tpm2pkcs11-tool -l --pin $PIN --write-object "$device_dir/client.der" --type cert --id 01 --label devicecert
I have tried with both .pem and .der format but it triggers the following error:
Using slot 0 with a present token (0x1)
ERROR: Expected attribute CKA_KEY_TYPE
error: PKCS11 function C_CreateObject failed: rv = CKR_TEMPLATE_INCOMPLETE (0xd0)
Aborting.
Is it a bug or the feature is yet to be implemented?
Thanks,
Clement
[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 3437 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-09 13:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-09 13:48 [tpm2] Loading certificate inside TPM CHOTARD Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox