I am trying to achieve something which I have done easily in C# DotNet. What I am trying to do is to get a X509 certificate object/struct from a pfx and private key of it.
How we can do it in C# is:
var x509Cert = new X509Certificate2(“C:\mycert.pfx”, “password”);
Do we have any go package for this in go. I have explored crypto/x509 package. But seems it doesn’t have such function.