Skip to content

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

@mnns

Description

@mnns

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions