Private key doesn’t match the certificate.
Original Question or Issue:
When installing or renewing SSL in FileCloud you are getting Private Key and Certificate miss match error.
Environment:
- Product - FileCloud Server
- Version - ANY
- Platform - ANY
Steps to Reproduce:
Try to install the Private key and Certificate in FileCloud.
Error or Log Message:
You will see similar errors :
Certificate and private key server mismatch/
Unable to configure RSA server private key
Defect or Enhancement Number:
Cause:
The private key does not match the certificate you’re trying to use. This is the most frequent cause.
Resolution or Workaround:
When installing or renewing the SSL, please make sure you are using the correct Private key and certificate file.
Can check and confirm with below command. If the hashes match, then it is the correct one.
openssl x509 -noout -modulus -in certificate.crt | openssl md5
openssl rsa -noout -modulus -in private.key | openssl md5
Notes: