How to get RSA key from -----BEGIN CERTIFICATE--— from.crt and .pem file?
问题 I'm having .crt and .pem file with -----BEGIN CERTIFICATE----- MIIFSDCCBDCg........................................ -----END CERTIFICATE----- and I want RSA key from this file. anyone is having any idea that how we can do that. I have used below command one by one openssl rsa -in XXX.crt -out input1.der -outform DER openssl rsa -in input1.der -inform DER -out key.pem -outform PEM But, It gives error: unable to load Private Key 140331982231200:error:0906D06C:PEM routines:PEM_read_bio:no start