Forum Discussion

Carlos_Colon_24's avatar
Carlos_Colon_24
Icon for Nimbostratus rankNimbostratus
Mar 30, 2017

Error reading private key when creating SSL Profile - how to convert to PEM format

Hi! I am getting an error 01070313:3 Error reading key PEM file when attempting to create a SSL profile. I have confirmed that the key and the passphrase are correct because they work on a GlobalScape server. To import the key into the F5, I copied the contents of the .key file (it starts with ----BEGIN ENCRYPTED PRIVATE KEY---) and pasted them into a key source record in the SSL Certificate List. Do I need to convert the .key file to a .pem file?

 

Thank you!!

 

2 Replies

  • I figured it out. I used OpenSSL to convert the file to .pem using this command: openssl rsa -outform der -in fileName.key -out fileName.pem At least it allowed me to create the profile. I'll find out soon if it will work.

     

  • I am not sure why the key file had to be in .pem format. I think I have used other keys in .key format without a problem. Perhaps it was because this particular key file is encrypted.