Generated signed X.509 client certificate is invalid (no certificate chain to its CA)

后端 未结 1 1139
耶瑟儿~
耶瑟儿~ 2021-01-20 15:09

I use Bouncy Castle for generation of X.509 client certificates and sing them using a known CA.

First I read the CA certificate from the certificate store, generate

相关标签:
1条回答
  • 2021-01-20 15:44

    I figured this out. If you call X509Certificate.Verify(publicKey) you have to pass the CA's public key, not the client's public key from the Pkcs10CertificationRequest.

    0 讨论(0)
提交回复
热议问题