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