Convert the cert and the private key to pem using openssl code example
Example: convert pem to private key openssl
openssl rsa -outform der -in private.pem -out private.key
openssl rsa -outform der -in private.pem -out private.key