Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Use Custom RootCertificate, DefaultWindows And BouncyCastle has Two behaviors? #965

Open
kingcomxu opened this issue Jun 27, 2023 · 0 comments

Comments

@kingcomxu
Copy link

when set CertificateEngine = DefaultWindows, every thing fine,
and when set CertificateEngine = BouncyCastle, browser shows ERR_CERT_AUTHORITY_INVALID!!!

In BCCertificateMaker.cs source ,
var issuerDn = new X509Name(issuerName);
I change it to
var issuerDn = new X509Name(true, issuerName);
Then everything is fine.

ps: my root.pfx is created by openssl, and used in filldercore is worked, so I think maybe it's a bug in BCCertificateMaker

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

No branches or pull requests

1 participant