How to import a certificate with private key on Certificate Management Tool -


by way i'm able import certificate on certificate management tool having .pfx file. i'm using makecert.exe utility generate certificates.

first step - generate certification authority using following command:

makecert.exe -n "cn=testca" -r -sv testca.pvk testca.cer 

second step - generated private key file , certificate file

makecert.exe -n "cn=testcert" -sv testcert.pvk -iv testca.pvk -ic testca.cer testcert.cer -sky signature -pe 

now i'm able see generated 4 files, testca.pvk, testca.cer, testcert.pvk, testcert.cer

when importing i'm not able choose pvk file certificate management tool.

after researching little, found microsoft utility named pvk2pfx.exe overcome issue.

this utility takes 2 files , merges them 1 .pfx file certification management tool uses import certificates private keys.

here documentation use it: http://msdn.microsoft.com/en-us/library/windows/hardware/ff550672(v=vs.85).aspx

and add full command used generate de .pfx file

pvk2pfx -pvk testcert.pvk -pi testcertpassword -spc testcert.cert -pfx testcert.pfx -po testcertpassword -f 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -