From OpenWetWare

< Computing
Revision as of 02:12, 2 August 2007 by Ilya (Talk | contribs)
Jump to: navigation, search

Certificate manipulation

Converting a certificate from pkcs12 to pem (first step extracts the private key and the second one extracts the public key):

openssl pkcs12 -nocerts -in usercert.p12 -out ~user/.globus/userkey.pem
chmod 400 ~user/.globus/userkey.pem
openssl pkcs12 -clcerts -nokeys -in usercert.p12 -out ~user/.globus/usercert.pem
Personal tools