- Home
- /
- Documentation
- /
- Personal eScience Certificate
- /
- How to Convert to...
How to Convert to PEM Format
The personal certificate is usually stored in a web browser. Upon export of the certificate, the file usually ends with an extension p12 (the PKCS12 format), however, the PEM format for the grid environment is required. Use following commands to convert the certificate file to the PEM format.
openssl pkcs12 -clcerts -nokeys -in usercert.p12 -out usercert.pem
openssl pkcs12 -nocerts -in usercert.p12 -out userkey.pem