I am trying to use X509Certificate2.CreateFromCertFile()
method in an ASP.NET Core application, but it seems like it's not supported for .NET Core.
Is there an alternative way of creating an X509Certificate2
object from a cert/pfx file?
I am trying to use X509Certificate2.CreateFromCertFile()
method in an ASP.NET Core application, but it seems like it's not supported for .NET Core.
Is there an alternative way of creating an X509Certificate2
object from a cert/pfx file?
Maybe something like this?