How to change certificate file format
Using a text editor
- Open the received file in a text editor.
- In the editor, click File → Save as... or use the keyboard shortcut Ctrl + Shift + S.
- When saving, specify a file name and the desired extension.
Repeat these steps for other files if necessary.
Via OpenSSL
Convert files to PEM format using the command:
openssl OLD_FILE_FORMAT -print_certs -in OLD_FILE.EXTENSION -out NEW_FILE.EXTENSIONExample:
openssl pkcs7 -print_certs -in certificate.p7b -out certificate.crt