Monday, November 26, 2007

Convert from pem files to p12

Today I had to convert my grid certificate *from* the pem files to a p12/pfx file to import into the browser. Lots on google about going the other way, but not back (though I think I'm loosing my google voodoo skills...). So, for the record here's how to do it:

openssl pkcs12 -export -in usercert.pem -inkey userkey.pem -out bundle.p12