Converting SSL-certificates from CRT format to PEM

Converting SSL-certificates from CRT format to PEM Dovecot, for example, seems to expect pem-files, while RapidSSL only issues crt-files. The solution? Use OpenSSL to convert (via the DER-format) to pem: openssl x509 -in input.crt -out input.der -outform DER then openssl x509 -in input.der -inform DER -out output.pem -outform PEM

Converting SSL-certificates from CRT format to PEM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s