I'm using TPM2 to generate CSR as described in wiki.
After get certificate which signed by server side, in my case, I have to use private key used for CSR generation to handshake with SSL connection with server. I tried to convert key.priv using base64 command but failed.
And could you please support me to explain below questions:
1) Can I use private key "key.priv" when created private key in TPM
tpm2_create -c po.ctx -g sha256 -G rsa -u key.pub -r key.priv
2) If question 1 is no, which private key will be accepted?
3) What are key.pub and key.priv used for?
Hello Everyone,
I'm using TPM2 to generate CSR as described in wiki. After get certificate which signed by server side, in my case, I have to use private key used for CSR generation to handshake with SSL connection with server. I tried to convert key.priv using base64 command but failed. And could you please support me to explain below questions: 1) Can I use private key "key.priv" when created private key in TPM tpm2_create -c po.ctx -g sha256 -G rsa -u key.pub -r key.priv 2) If question 1 is no, which private key will be accepted? 3) What are key.pub and key.priv used for?
Thank you very much.