how to convert pem to FFI code example
Example 1: convert pem to crt
openssl x509 -outform der -in your-cert.pem -out your-cert.crt
Example 2: convert pem to private key openssl
openssl rsa -outform der -in private.pem -out private.key
openssl x509 -outform der -in your-cert.pem -out your-cert.crt
openssl rsa -outform der -in private.pem -out private.key