Entrust Datacard

Entrust Certificate Services Support Knowledge Base

Last Modified: 2016-07-05 16:16:39.0

Why do I receive the error ''Unable to configure RSA server private key''?

Article Number: 45635

When you try to run Apache, you may receive one of the following error messages in the log file:

Unable to configure RSA server private key

mod_ssl: Init: (www.domain.com:443) Unable to configure RSA server private key (OpenSSL library error follows)

OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
 
Error: "Unable to configure RSA server private key"
Eror: "mod_ssl: Init: (www.domain.com:443) Unable to configure RSA server private key (OpenSSL library error follows)"
Error: "OpenSSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch"

Cause: 
This problem may occur if the private key and certificate do not match.

Resolution: 
To resolve this problem, specify the correct private key for the certificate. Compare the modulus of certificate against the modulus of the private key to see if they match. Follow these steps:

View the certificate modulus using the following command:

openssl x509 -noout -text -in certfile -modulus


View the key using the following command:

openssl rsa -noout -text -in keyfile -modulus


Verify the following:
Verify that the certificate and private key is saved in Notepad and that it has no trailing spaces.
The "modulus" and "public exponent" portions in the key and the certificate must match exactly.
Make sure you aren't using the default server.key file.
You should also check the httpd.conf file to make sure that the directives are pointing to the correct private key and certificate.


If they do not match, you will have to reissue your certificate

TN5892

Affected Products:

  • Entrust Certificate Services 1 Year Advantage SSL Certificate Version Not Applicable Language Not Applicable Platform Not Applicable
  • Entrust Certificate Services 1 Year SSL Certificate Version Not Applicable Language Not Applicable Platform Not Applicable
  • Entrust Certificate Services 2 Year Advantage SSL Certificate Version Not Applicable Language Not Applicable Platform Not Applicable
  • Entrust Certificate Services 2 Year SSL Certificate Version Not Applicable Language Not Applicable Platform Not Applicable
  • Entrust Certificate Services Cert Admin Advantage Server Certificate 1 Year Version Not Applicable Language Not Applicable Platform Not Applicable
  • Entrust Certificate Services Cert Admin Advantage Server Certificate 2 Year Version Not Applicable Language Not Applicable Platform Not Applicable