Convert certificate format with OpenSSL

Convert a PEM file to DER (crt etc)

Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM

Convert a PEM certificate file and a private key to...