Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: HOWTO: Convert PFX/PKCS#12 for use with HMS
PostPosted: 2010-09-15 17:24 
Normal user

Joined: 2010-07-09 13:16
Posts: 232
You should have received a *.pfx file from your CA. If you only have the certificate in you certificate store, you can export it with certmgr.msc. Check "export privat key". Now you can convert this PKCS#12 file to a PEM-file with:

openssl pkcs12 -in yourfile.pfx -out yournewfile.pem -nodes

Then you have a PEM-File including 2 sections:

-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----

and

-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----

Split this file with an editor into 2 separated files, named yournewfile.key and yournewfile.cer. Remove all extra text from these files outside the lines with the dashes.

Now you can use the files with HMS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 3 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group