5.2.7 Converting the certificate format (openssl.bat x509 or openssl.sh x509 command)
This subsection explains how to convert the certificate format. Use this functionality as necessary.
- Organization of this subsection
(1) Format
In Windows
openssl.bat x509 -inform input-format -outform output-format -in input-file -out output-file
In UNIX
openssl.sh x509 -inform input-format -outform output-format -in input-file -out output-file
(2) Parameters
-
-inform input-format
Input format: {DER|PEM}
-
-outform output-format
Output format: {DER|PEM}
-
-in input-file
Specify the certificate file before conversion.
-
-out output-file
Specify the certificate file after conversion.