convert .cert to .key ssl code example Example: convert pem to crt openssl x509 -outform der -in your-cert.pem -out your-cert.crt