Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
This repository was 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

Description

@kingcomxu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions