Skip to content

"The certificate key algorithm is not supported." error for PrivateKey of certificate #47

@mrtsrdm

Description

@mrtsrdm

ı am trying search the PrivateKey property of my certificate which is created by using 'NewRootCertificate' method, but it threws exception.

string pathd = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "localhost_root_l1.pfx");
X509Certificate2 crt = new X509Certificate2(pathd, "1234");
image

what is the reason of this error ?

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