Forum Discussion
copying ssl key and cert (Import Failed: Keys do not match)
I am trying to copy a SSL Key and Cert from one F5 to another F5. The source F5 with the SSL Key/Cert is version 11.5.1. The destination F5 is version 10.2.4. I can import the key from the source F5 to the other F5. However, when I attempt to copy the cert, I get a key mismatch. I tried several methods to copy the key and cert. I tried exporting the key to my desktop and then download the cert to my desktop and then import it to the new F5 pointing to those files. I still get the same error.
I typically copy and paste it. However, it gives me the same error.
Any ideas?
3 Replies
- Michael_Jenkins
Cirrostratus
You should be able to use openssl through the CLI to export the cert and key together and see if you can import it sucessfully on your target F5.
openssl pkcs12 -export -out /var/tmp/certkey.p12 -inkey /config/filestore/files_d/Common_d/certificate_key_d/:Common:[NAME].key -in /config/filestore/files_d/Common_d/certificate_d/:Common:[NAME].crtThe output will be in
, and you can use something like WinSCP to get the file./var/tmp - nitass
Employee
can you try to verify the certificate and key?
sol13349: Verifying SSL certificate and key pairs from the command line (11.x)
https://support.f5.com/kb/en-us/solutions/public/13000/300/sol13349.html - cwdusheke_14267
Nimbostratus
I will try this method. Thanks.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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