KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
We use C# code we build X509Certificate2 with .p12 file, in the constructor we insert the path to certificate, certificate's password. We also marked it as Exportable as shown below: X509Certificate2 x509Certificate2 = new X509Certificate2 ("...\\MyCerificate.p12", "P@ssw0rd", X509KeyStorageFlags.Exportable); we get the private key as AsymmetricAlgorithm format by the following: x509Certificate2.PrivateKey Now, we want to get the private key from the certificate as Base64 format - but we don't have any idea how to do it, and its so important for us.
Tags (comma-separated)
Save Edits
Cancel