Forum Discussion
Harishwar_Redd2
Nimbostratus
Aug 26, 201901070317:3: sslprofile's key and certificate do not match
I am renewing my cert in F5 LTM device, i am unable to renew the cert. Giving the error sslprofile's key and certificate do not match. same time i am trying to generate new CSR with same name i am not able to generate.
Need suggestions, how to renew.
Hi,
Can you check whether the certificate matches the private key?
openssl rsa -noout -modulus -in <private key name>.key | openssl md5 openssl x509 -noout -modulus -in <certificate name>.crt | openssl md5
If the md5 values are same, create pfx certificate.
openssl pkcs12 -export -out <pkcs name>.pfx -inkey <private key name>.key -in <certificate name>.crt
Copy .pfx file to /shared/tmp/ folder and import it.
tmsh install sys crypto pkcs12 <pkcs name>.pfx from-local-file /shared/tmp/<pkcs name>.pfx passphrase <pkcs12 passphrase>
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects