how to make pem file from crt and key code example Example: convert pem to crt openssl x509 -outform der -in your-cert.pem -out your-cert.crt