Thanks to visit codestin.com
Credit goes to github.com

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

[Question] Private key for CSR #87

@longntv

Description

@longntv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions