How to convert certificates from P12 to PEM formats?
Several CLI commands require a valid user digital certificate. To install certificate, user
should set parameters
x509_user_key
and
x509_user_cert
in
~/.etics.conf
so that
they point to proper
*.pem
files.
How to convert digital certificate from
.p12
to
.pem
format?
- input:
cert.p12
– certificate in .p12
format (pkcs12 – format commonly used by WebBrowsers)
- output:
cert.pem
– certificate in .pem
format (use it as both X509_USER_KEY
and X509_USER_CERT
)
- procedure: execute (you will be prompted for a password):
openssl pkcs12 -in cert.p12 -clcerts -out cert.pem
- This is based on: OpenSSL manual
-- Main.kokoszka - 10 Jan 2007
Topic revision: r2 - 2007-01-10
- unknown