According to the https://wiki.centos.org/HowTos/Https, I configured SSL Certificates but when I want to restart Apache then I got below error:
Code: Select all
# cat /var/log/httpd/error_log
[Sat Mar 16 10:58:59.715237 2019] [core:notice] [pid 18199] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Mar 16 10:59:05.799652 2019] [ssl:warn] [pid 18199] AH01909: RSA certificate configured for www.example.org:443 does NOT include an ID which matches the server name
[Sat Mar 16 10:59:05.800247 2019] [ssl:emerg] [pid 18199] AH02311: Fatal error initialising mod_ssl, exiting. See /etc/httpd/logs/ssl_error_log for more information
[Sat Mar 16 10:59:28.934952 2019] [core:notice] [pid 18237] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Mar 16 10:59:33.620406 2019] [ssl:warn] [pid 18237] AH01909: RSA certificate configured for www.example.org:443 does NOT include an ID which matches the server name
[Sat Mar 16 10:59:33.620983 2019] [ssl:emerg] [pid 18237] AH02311: Fatal error initialising mod_ssl, exiting. See /etc/httpd/logs/ssl_error_log for more information
[Sat Mar 16 11:00:17.982247 2019] [core:notice] [pid 18280] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Mar 16 11:00:21.643427 2019] [ssl:warn] [pid 18280] AH01909: RSA certificate configured for www.example.org:443 does NOT include an ID which matches the server name
[Sat Mar 16 11:00:21.644018 2019] [ssl:emerg] [pid 18280] AH02311: Fatal error initialising mod_ssl, exiting. See /etc/httpd/logs/ssl_error_log for more information
[Sat Mar 16 11:01:02.586171 2019] [core:notice] [pid 18345] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Mar 16 11:01:09.864709 2019] [ssl:warn] [pid 18345] AH01909: RSA certificate configured for www.example.org:443 does NOT include an ID which matches the server name
[Sat Mar 16 11:01:09.865320 2019] [ssl:emerg] [pid 18345] AH02311: Fatal error initialising mod_ssl, exiting. See /etc/httpd/logs/ssl_error_log for more information
[Sat Mar 16 11:08:28.404428 2019] [core:notice] [pid 18598] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Mar 16 11:08:32.385119 2019] [ssl:warn] [pid 18598] AH01909: RSA certificate configured for www.example.org:443 does NOT include an ID which matches the server name
[Sat Mar 16 11:08:32.385719 2019] [ssl:emerg] [pid 18598] AH02311: Fatal error initialising mod_ssl, exiting. See /etc/httpd/logs/ssl_error_log for more information
[Sat Mar 16 11:09:43.134599 2019] [core:notice] [pid 18669] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Mar 16 11:09:47.067500 2019] [ssl:warn] [pid 18669] AH01909: RSA certificate configured for www.example.org:443 does NOT include an ID which matches the server name
[Sat Mar 16 11:09:47.068118 2019] [ssl:emerg] [pid 18669] AH02311: Fatal error initialising mod_ssl, exiting. See /etc/httpd/logs/ssl_error_log for more information
Code: Select all
# cat /etc/httpd/logs/ssl_error_log
[Sat Mar 16 11:08:32.385650 2019] [ssl:emerg] [pid 18598] AH02238: Unable to configure RSA server private key
[Sat Mar 16 11:08:32.385711 2019] [ssl:emerg] [pid 18598] SSL Library Error: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
[Sat Mar 16 11:09:47.068060 2019] [ssl:emerg] [pid 18669] AH02238: Unable to configure RSA server private key
[Sat Mar 16 11:09:47.068109 2019] [ssl:emerg] [pid 18669] SSL Library Error: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
Thank you.