Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide simple code example for signing cert (ECDSA) #62

Open
mnns opened this issue Jun 23, 2020 · 1 comment
Open

Provide simple code example for signing cert (ECDSA) #62

mnns opened this issue Jun 23, 2020 · 1 comment

Comments

@mnns
Copy link

mnns commented Jun 23, 2020

Hi,

I'm trying to find a code example (ECDSA) that will help me create and sign a new certificate by an existing ca certificate (already uploaded to KV).

I don't fully get the flow, if I'm correct it should be:

  1. Create a private key directly in KV
  2. Locally create a CSR
  3. Send the digest of the CSR (how to extract it?) to the Sign() function of the private key
  4. Append the signature from the Sign() to the CSR
  5. Upload the certificate

Can anyone post a basic code sample for that scenario?

Also, I'm not sure if this library is supported by the new "Azure.Security.KeyVault.Certificates" libraries instead of the older "Microsoft.Azure.KeyVault".

Thanks a lot for your help

@nndnnv
Copy link

nndnnv commented Jul 19, 2020

hi did you find any solution? looking desperately for a solution

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

No branches or pull requests

2 participants