0

I need to create a certificate with private keys with specific subject name and issuer. This certificate will act as the client cert and the Root CA cert will act as the server certificate as well as the public key.

The Root CA cert is present in the Trusted Root store. I want to create a self signed certificate with private keys and install both the new certificate and Root CA certificate in the Personal store.

I am able to create and install the certificates but not able to set subject name and issuer.

Need help with that.

  • How did you create the certificate? (It's hard to suggest a change to code if you don't share the code). You might want to look at the [CertificateRequest](https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.certificaterequest?view=net-6.0) class. – bartonjs Mar 22 '22 at 16:12
  • @bartonjs I used this https://stackoverflow.com/a/52535184/9456490 , but I want to set custom subject and issuer – Venkatesh Deo Mar 23 '22 at 08:23

0 Answers0