Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

[Question] Private key for CSR #87

Open
longntv opened this issue Sep 11, 2019 · 0 comments
Open

[Question] Private key for CSR #87

longntv opened this issue Sep 11, 2019 · 0 comments

Comments

@longntv
Copy link

longntv commented Sep 11, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant