Troubleshooting Apache HTTP Server Startup Failure on Satellite 6 or External Capsule 6 and OpenSSL Key Values Mismatch Error
Issue
- The Apache HTTP Server fails to start on
Red Hat Satellite
6 or ExternalCapsule
6, accompanied by an OpenSSL::SSL::SSLError with the message "SSL_CTX_use_PrivateKey: key values mismatch." -
Upon starting the Apache HTTP Server on Red Hat Satellite 6 or External Capsule 6, the server fails to start successfully. The system log displays an error message indicating the failure to start the Apache HTTP Server, followed by an OpenSSL::SSL::SSLError with the specific error message "SSL_CTX_use_PrivateKey: key values mismatch."
Jun 21 19:22:20 satellite systemd: Starting The Apache HTTP Server... Jun 21 19:22:20 satellite systemd: httpd.service: main process exited, code=exited, status=1/FAILURE Jun 21 19:22:20 satellite systemd: Failed to start The Apache HTTP Server. Jun 21 19:22:20 satellite systemd: Unit httpd.service entered failed state. Jun 21 19:22:20 satellite systemd: httpd.service failed.
2023-06-21T18:57:24 [I] WEBrick::HTTPServer#start: pid=11833 port=9090 2023-06-21T18:57:24 [I] Smart proxy has launched on 2 socket(s), waiting for requests 2023-06-21T18:57:25 [E] OpenSSL::SSL::SSLError: SSL_CTX_use_PrivateKey: key values mismatch
[Wed Jun 21 19:22:20.235100 2023] [ssl:emerg] [pid 31091] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/httpd/rhsm-pulpcore-https-8443_error_ssl.log for more information
[Wed Jun 21 19:22:20.235024 2023] [ssl:emerg] [pid 31091] AH02238: Unable to configure RSA server private key [Wed Jun 21 19:22:20.235077 2023] [ssl:emerg] [pid 31091] SSL Library Error: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
Environment
- Red Hat Satellite 6
- Red Hat Capsule 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.