Ask a Question related to ASP.NET Security, Design and Development.
-
Schoolar #1
how to retrieve private key from .pfx file?
X509Certificate can retrieve public key from .cer file.
But how to retrieve private key from .pfx file?
Thanks!
Schoolar Guest
-
How do I retrieve the list of customproperties contained in a PDF file?
Hello. How do I retrieve the list of custom properties contained in a PDF file? In a related topic: is there an intrinsic difference between... -
how to retrieve swf file from database?
i m still new in this actionscript thingy. i know how to load external .swf file from the same folder to flash when it is call by using ... -
Private key file name and/or location
Had to reformat hard disk and reinstall software after messy crash. Selectively restoring from backup media. I'm running XP home edition and Adobe... -
How to retrieve the records if I have .SQL script file using ADO.net
Hi, I need to retrieve records from SQL 2000 datbase using ADO.Net I have a huge select statement in .sql script file I need to run it to get the... -
Private Fotopages - private Web Galleries WANTED!
Hello NG I am still seeking links to private (hobby / non professional/ amateur) fotopages in Australia -or any other Country to be used at... -
Karthik #2
Re: how to retrieve private key from .pfx file?
Use open ssl or cert util tools to extract the private key from the pfx.
command in open ssl : pkcs12 -nocerts -in "Pfx file name &location"(e.g "C:\KarthikTest.pfx" -out "Strore location " (e.g "c:\KarthikPvatekey.key"
Thanks
KarthikKarthik Guest
-
Unregistered #3
How to retrieve private key from .pfx file?
If you want to extract private key from a pfx file and write it to PEM file
>>openssl.exe pkcs12 -in publicAndprivate.pfx -nocerts -out privateKey.pem
If you want to extract the certificate file (the signed public key) from the pfx file
>>openssl.exe pkcs12 -in publicAndprivate.pfx -clcerts -nokeys -out publicCert.pem
To remove the password from the private key file.
>> openssl.exe rsa -in privateKey.pem -out private.pem
This is required as, at the time of exporting privateKey, you have added a password to the private key to secure it. If you left the password with it, it will keep asking the password as any application tries to access it.Unregistered Guest



Reply With Quote

