Problem:
- Product Name: VisiBroker
- Product Version: ALL
- Product Component: SSL
- Platform: ALL
How to convert a cert from DER format to PEM format and vice versa?
Resolution:
To convert a binary format cert/key (DER) to a PEM format cert/key or vice versa, the tools from openssl (www.openssl.org) can be used.
Here are the commands:
1. To convert a cert from DER format to PEM format:
openssl x509 -in input.cer -inform DER -out output.cer -outform PEM
2. To convert a cert from PEM format to DER format:
openssl x509 -in input.cer -inform PEM -out output.cer -outform DER
3. To convert a private key from DER format to PEM format:
openssl rsa -in inkey.cer -inform DER -out outkey.cer -outform PEM
4. To convert a private key from PEM format to DER format:
openssl rsa -in inkey.cer -inform PEM -out outkey.cer -outform DER
#VisiBroker
#Security




