You can use the procertm utility to convert digital certificates between .DER and .PEM file formats. To convert files from one file format to the other, use the following command line syntax:
Syntax
procertm -c in_cert out_cert
Where:
in_cert
The digital certificate whose file format you want to convert.
out_cert
The file format to which you want to convert the digital certificate. Procertm performs the conversion based on the file-extension type. For example, if in_cert has a file extension type of .crt and out_cert has a file extension type of .pem, in_cert is converted from .der to .pem format and written to the file out_cert.