Forum Discussion
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!!
- Carlos_Colon_24
Nimbostratus
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.
- Carlos_Colon_24
Nimbostratus
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.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com