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.

TransparentClientHandler doesn't use CertificateManager.RootCertificate for AuthenticateAsServerAsync #529

@jmh76

Description

@jmh76

A genuine certificate can be set to ProxyServer.CertificateManager.RootCertificate and this should be used rather than creating a certificate on the fly.

-                            var certificate = await CertificateManager.CreateCertificateAsync(certName);
+                           var certificate = CertificateManager.RootCertificate ?? await CertificateManager.CreateCertificateAsync(certName);

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