ISPConfig LetsEncrypt & Self Signed Certificate BROKEN CONFIG - ssl

im at that point, that i couldnt solve the problem now anymore ... seriosly, i was so stupid, checked the letsencrypt ssl and simultanously created a self signed certificate. however, i think with that i have broken the SSL config. other domains working with letsencrypt, except that one domain/website even after new creating it. i cant find logs outside of the log printed below.
Following is the error.log of Apache2:
[Wed Jul 03 17:46:02.826733 2019] [ssl:warn] [pid 10839] AH01909: kronos.pixelcode.at:8080:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 03 17:46:02.826780 2019] [ssl:error] [pid 10839] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=admin#alphaground.net,CN=alphaground.net,O=Alphaground,L=Telfs,ST=Austria,C=AT / issuer: emailAddress=admin#alphaground.net,CN=alphaground.net,O=Alphaground,L=Telfs,ST=Austria,C=AT / serial: 0A5E411BEFE1832A40230F6F9BC1B0E1F7078CF8 / notbefore: Jun 19 18:42:15 2019 GMT / notafter: Jun 16 18:42:15 2029 GMT]
[Wed Jul 03 17:46:02.826796 2019] [ssl:error] [pid 10839] AH02604: Unable to configure certificate kronos.pixelcode.at:8080:0 for stapling
[Wed Jul 03 17:46:02.826847 2019] [:error] [pid 10839] python_init: Python version mismatch, expected '2.7.6', found '2.7.16'.
[Wed Jul 03 17:46:02.826884 2019] [:error] [pid 10839] python_init: Python executable found '/usr/bin/python'.
[Wed Jul 03 17:46:02.826886 2019] [:error] [pid 10839] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Wed Jul 03 17:46:02.826895 2019] [:notice] [pid 10839] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Wed Jul 03 17:46:02.826898 2019] [:notice] [pid 10839] mod_python: using mutex_directory /tmp
[Wed Jul 03 17:46:02.833564 2019] [mpm_prefork:notice] [pid 10839] AH00163: Apache/2.4.38 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1b mod_python/3.3.1 Python/2.7.16 configured -- resuming normal operations
[Wed Jul 03 17:46:02.833582 2019] [core:notice] [pid 10839] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jul 03 17:50:02.673254 2019] [mpm_prefork:notice] [pid 10839] AH00169: caught SIGTERM, shutting down
[Wed Jul 03 17:50:02.783814 2019] [ssl:warn] [pid 11384] AH01906: kronos.pixelcode.at:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 03 17:50:02.783845 2019] [ssl:warn] [pid 11384] AH01909: kronos.pixelcode.at:8080:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 03 17:50:02.783917 2019] [ssl:error] [pid 11384] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=admin#alphaground.net,CN=alphaground.net,O=Alphaground,L=Telfs,ST=Austria,C=AT / issuer: emailAddress=admin#alphaground.net,CN=alphaground.net,O=Alphaground,L=Telfs,ST=Austria,C=AT / serial: 0A5E411BEFE1832A40230F6F9BC1B0E1F7078CF8 / notbefore: Jun 19 18:42:15 2019 GMT / notafter: Jun 16 18:42:15 2029 GMT]
[Wed Jul 03 17:50:02.783924 2019] [ssl:error] [pid 11384] AH02604: Unable to configure certificate kronos.pixelcode.at:8080:0 for stapling
[Wed Jul 03 17:50:02.783955 2019] [suexec:notice] [pid 11384] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Jul 03 17:50:02.811836 2019] [ssl:warn] [pid 11390] AH01906: kronos.pixelcode.at:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 03 17:50:02.811851 2019] [ssl:warn] [pid 11390] AH01909: kronos.pixelcode.at:8080:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 03 17:50:02.811904 2019] [ssl:error] [pid 11390] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=admin#alphaground.net,CN=alphaground.net,O=Alphaground,L=Telfs,ST=Austria,C=AT / issuer: emailAddress=admin#alphaground.net,CN=alphaground.net,O=Alphaground,L=Telfs,ST=Austria,C=AT / serial: 0A5E411BEFE1832A40230F6F9BC1B0E1F7078CF8 / notbefore: Jun 19 18:42:15 2019 GMT / notafter: Jun 16 18:42:15 2029 GMT]
[Wed Jul 03 17:50:02.811909 2019] [ssl:error] [pid 11390] AH02604: Unable to configure certificate kronos.pixelcode.at:8080:0 for stapling
[Wed Jul 03 17:50:02.811980 2019] [:error] [pid 11390] python_init: Python version mismatch, expected '2.7.6', found '2.7.16'.
[Wed Jul 03 17:50:02.812037 2019] [:error] [pid 11390] python_init: Python executable found '/usr/bin/python'.
[Wed Jul 03 17:50:02.812046 2019] [:error] [pid 11390] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Wed Jul 03 17:50:02.812095 2019] [:notice] [pid 11390] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Wed Jul 03 17:50:02.812099 2019] [:notice] [pid 11390] mod_python: using mutex_directory /tmp
[Wed Jul 03 17:50:02.819199 2019] [mpm_prefork:notice] [pid 11390] AH00163: Apache/2.4.38 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1b mod_python/3.3.1 Python/2.7.16 configured -- resuming normal operations
[Wed Jul 03 17:50:02.819215 2019] [core:notice] [pid 11390] AH00094: Command line: '/usr/sbin/apache2'
thats what my error.log tries me to say, but it already worked with other domains. i think there have to be a config, where it tries to get or whatever the old certificate. letsencrypt shows me no error, and the server.sh from ispconfig no error too.
I recreated the website/domain in ispconfig, but i still get the same error. other domains works with no error at all. im really really sure, the problem was with check letsencrypt and create a certificate at the same time.
i read through the config in the .vhost but there is nothing in the ssl section...

Problem solved. If you stuck or get the same error, also check your IPv6 settings in DNS. I had two Numbers flipped. So IPv4 was correct, but IPv6 not and i got no error about it.
After reinstalling the server, i ended up with the same problem, so i struggled through the DNS settings. And e voila, AAAA IPv6 correct and the cert was generated perfect.

Related

Apache terminates itself

Recently the Apache2 on my Ubuntu computer terminates itself after it is started a few hours, provided that no one has modified any Apache configs or sending out any SIGTERM signal (except apt/apt-get upgrade). When I check the error.log, it shows something like this which I can find no clue:
[Mon Jun 04 00:05:36.567117 2018] [mpm_prefork:notice] [pid 2713] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:05:36.567139 2018] [core:notice] [pid 2713] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:08:42.692780 2018] [mpm_prefork:notice] [pid 2713] AH00169: caught SIGTERM, shutting down
[Mon Jun 04 00:08:49.095482 2018] [ssl:warn] [pid 8974] AH01906: 167381ca9f7090bf9edf80ba7abf2757.6b6358cf1d262e93db083c8b42c3e7e4.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:08:49.132763 2018] [ssl:warn] [pid 8975] AH01906: 167381ca9f7090bf9edf80ba7abf2757.6b6358cf1d262e93db083c8b42c3e7e4.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:08:49.138388 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:08:49.138411 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:08:55.724193 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
[Mon Jun 04 00:08:55.761313 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:08:55.761330 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:00.420832 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
[Mon Jun 04 00:09:00.454148 2018] [ssl:warn] [pid 8975] AH01906: 188454998ed00edb88cd5d07b2ab2254.3b3a904d9d9487cc6497b164e7f62a83.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.454369 2018] [ssl:warn] [pid 8975] AH01906: c2322864937b675b512cc9082dced726.92496ce8d61bce3f4a23bc1a3218e316.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.454577 2018] [ssl:warn] [pid 8975] AH01906: 76af4c76944afa8d20dc39e2298db3b3.e13999bec38b4f773ce0a42cd05bbd4c.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.454777 2018] [ssl:warn] [pid 8975] AH01906: 17692edb40ba2833effa12d8a5c88387.667c0669638111d9584e8e5e06ff19b9.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.454982 2018] [ssl:warn] [pid 8975] AH01906: ae632be6f870530686007c705e552d70.a1bcbaaf18efb59cf234338286ca537b.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.455186 2018] [ssl:warn] [pid 8975] AH01906: 953872e180e5982e31690363dd4a30d8.6ca1b4a315f407a052938df2d18acba3.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.455397 2018] [ssl:warn] [pid 8975] AH01906: 6583ed0337c393064b82f1e8123809ba.e6548597537804f2bef7369a4c2acdba.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:00.458601 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:00.458610 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:10.021985 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
[Mon Jun 04 00:09:10.061542 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:10.061567 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:12.672320 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
[Mon Jun 04 00:09:12.707771 2018] [ssl:warn] [pid 8975] AH01906: 074653103fcd03ca40aa6ae4b90266f9.e453fad80449cbedfb50933e788548a7.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:12.708001 2018] [ssl:warn] [pid 8975] AH01906: 4ac70f37b3cc16c2eedecc274ada88b5.fc9272a4d656a16b16687b53e5ddab16.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:12.711091 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:12.711098 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:19.800865 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
[Mon Jun 04 00:09:19.839602 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:19.839618 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:22.113155 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist
[Mon Jun 04 00:09:22.149880 2018] [ssl:warn] [pid 8975] AH01906: 95a5f7529d708ef2ed9efc1770f7b3f9.7d2f8675f76c8b2e6909bbe900e67d93.acme.invalid:443:0 server certificate is a CA certificate (BasicConstr$
[Mon Jun 04 00:09:22.153017 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:22.153025 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:28.755711 2018] [mpm_prefork:notice] [pid 8975] AH00171: Graceful restart requested, doing restart
[Mon Jun 04 00:09:28.798520 2018] [mpm_prefork:notice] [pid 8975] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Mon Jun 04 00:09:28.798537 2018] [core:notice] [pid 8975] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 00:09:28.975472 2018] [mpm_prefork:notice] [pid 8975] AH00169: caught SIGTERM, shutting down
Anyone can help? Thanks!

Apache2 sever fail to start in the Debian 8

I start the apache2 server in the Debian 8 machine and have the output provided:
$ sudo /etc/init.d/apache2 start
[ ok ] Starting apache2 (via systemctl): apache2.service.
Now, when checking the status, I find this output provided below,
$ sudo systemctl -l status apache2
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: inactive (dead) since Fri 2018-01-05 18:53:18 BDT; 2min 56s ago
Process: 9603 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 9585 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Jan 05 18:53:18 debian8 apache2[9585]: Starting web server: apache2AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Jan 05 18:53:18 debian8 apache2[9585]: Action 'start' failed.
Jan 05 18:53:18 debian8 apache2[9585]: The Apache error log may have more information.
Jan 05 18:53:18 debian8 apache2[9585]: .
Jan 05 18:53:18 debian8 apache2[9603]: Stopping web server: apache2.
The line informs that, Jan 05 18:53:18 debian8 apache2[9585]: Action 'start' failed. I assume that means the apache server is not running.
I looked for the error log and find,
$ sudo cat /var/log/apache2/error.log
[Fri Jan 05 07:31:23.141452 2018] [ssl:warn] [pid 1905] AH01916: Init: (local.test:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Fri Jan 05 07:31:23.141542 2018] [mpm_prefork:notice] [pid 1905] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
[Fri Jan 05 07:31:23.141550 2018] [core:notice] [pid 1905] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 05 10:27:07.347727 2018] [mpm_prefork:notice] [pid 1905] AH00169: caught SIGTERM, shutting down
[Fri Jan 05 10:45:01.716439 2018] [ssl:warn] [pid 1754] AH01916: Init: (local.test:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Fri Jan 05 10:45:01.928468 2018] [ssl:warn] [pid 1793] AH01916: Init: (local.test:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Fri Jan 05 10:45:01.948283 2018] [mpm_prefork:notice] [pid 1793] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
[Fri Jan 05 10:45:01.948331 2018] [core:notice] [pid 1793] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 05 10:57:54.207319 2018] [mpm_prefork:notice] [pid 1793] AH00169: caught SIGTERM, shutting down
[Fri Jan 05 10:59:21.635105 2018] [ssl:warn] [pid 1801] AH01916: Init: (local.test:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Fri Jan 05 10:59:21.766752 2018] [ssl:warn] [pid 1837] AH01916: Init: (local.test:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Fri Jan 05 10:59:21.770769 2018] [mpm_prefork:notice] [pid 1837] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
[Fri Jan 05 10:59:21.770827 2018] [core:notice] [pid 1837] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 05 11:29:49.123102 2018] [mpm_prefork:notice] [pid 1837] AH00169: caught SIGTERM, shutting down
[Fri Jan 05 11:33:46.931328 2018] [ssl:warn] [pid 1700] AH01916: Init: (local.test:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Fri Jan 05 11:33:47.107058 2018] [ssl:warn] [pid 1750] AH01916: Init: (local.test:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Fri Jan 05 11:33:47.120610 2018] [mpm_prefork:notice] [pid 1750] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
[Fri Jan 05 11:33:47.120650 2018] [core:notice] [pid 1750] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jan 05 14:34:06.958963 2018] [mpm_prefork:notice] [pid 1750] AH00169: caught SIGTERM, shutting down
[Fri Jan 05 14:34:08.857489 2018] [ssl:emerg] [pid 31187] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 14:48:49.228927 2018] [ssl:emerg] [pid 2360] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 14:56:07.665868 2018] [ssl:emerg] [pid 4309] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 14:56:29.491940 2018] [ssl:emerg] [pid 4465] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 15:01:14.384576 2018] [ssl:emerg] [pid 5618] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 15:01:18.064625 2018] [ssl:emerg] [pid 5704] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 15:01:52.921632 2018] [ssl:emerg] [pid 5893] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 15:23:58.732664 2018] [ssl:emerg] [pid 11914] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 15:24:13.462265 2018] [ssl:emerg] [pid 14259] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 15:29:12.703894 2018] [ssl:emerg] [pid 15379] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 16:14:41.286196 2018] [ssl:emerg] [pid 26572] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 16:14:55.140590 2018] [ssl:emerg] [pid 26682] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 16:15:30.060982 2018] [ssl:emerg] [pid 26854] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
[Fri Jan 05 18:53:18.353757 2018] [ssl:emerg] [pid 9599] AH02311: Fatal error initialising mod_ssl, exiting. See /var/log/apache2/cxClient443.draglet.test-error.log for more information
AH00016: Configuration Failed
The error log for the cxClient443.draglet.test-error.log provided below,
$ sudo nano /var/log/apache2/cxClient443.draglet.test-error.log
[Fri Jan 05 07:31:23.141321 2018] [ssl:warn] [pid 1905] AH01906: cxClient443.draglet.test:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 05 07:31:23.141365 2018] [ssl:warn] [pid 1905] AH01909: cxClient443.draglet.test:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 05 10:45:01.715668 2018] [ssl:warn] [pid 1754] AH01906: cxClient443.draglet.test:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 05 10:45:01.716274 2018] [ssl:warn] [pid 1754] AH01909: cxClient443.draglet.test:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 05 10:45:01.928326 2018] [ssl:warn] [pid 1793] AH01906: cxClient443.draglet.test:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 05 10:45:01.928366 2018] [ssl:warn] [pid 1793] AH01909: cxClient443.draglet.test:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 05 10:59:21.634605 2018] [ssl:warn] [pid 1801] AH01906: cxClient443.draglet.test:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 05 10:59:21.634976 2018] [ssl:warn] [pid 1801] AH01909: cxClient443.draglet.test:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 05 10:59:21.766633 2018] [ssl:warn] [pid 1837] AH01906: cxClient443.draglet.test:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 05 10:59:21.766671 2018] [ssl:warn] [pid 1837] AH01909: cxClient443.draglet.test:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 05 11:33:46.930717 2018] [ssl:warn] [pid 1700] AH01906: cxClient443.draglet.test:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 05 11:33:46.931209 2018] [ssl:warn] [pid 1700] AH01909: cxClient443.draglet.test:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 05 11:33:47.106862 2018] [ssl:warn] [pid 1750] AH01906: cxClient443.draglet.test:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 05 11:33:47.106917 2018] [ssl:warn] [pid 1750] AH01909: cxClient443.draglet.test:443:0 server certificate does NOT include an ID which matches the server name
[Fri Jan 05 14:34:08.853654 2018] [ssl:emerg] [pid 31187] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 14:34:08.857467 2018] [ssl:emerg] [pid 31187] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 14:48:49.228822 2018] [ssl:emerg] [pid 2360] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 14:48:49.228920 2018] [ssl:emerg] [pid 2360] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 14:56:07.665783 2018] [ssl:emerg] [pid 4309] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 14:56:07.665861 2018] [ssl:emerg] [pid 4309] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 14:56:29.491840 2018] [ssl:emerg] [pid 4465] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 14:56:29.491931 2018] [ssl:emerg] [pid 4465] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 15:01:14.384494 2018] [ssl:emerg] [pid 5618] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 15:01:14.384569 2018] [ssl:emerg] [pid 5618] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 15:01:18.064529 2018] [ssl:emerg] [pid 5704] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 15:01:18.064611 2018] [ssl:emerg] [pid 5704] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 15:01:52.921550 2018] [ssl:emerg] [pid 5893] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 15:01:52.921625 2018] [ssl:emerg] [pid 5893] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 15:23:58.732592 2018] [ssl:emerg] [pid 11914] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 15:23:58.732657 2018] [ssl:emerg] [pid 11914] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 15:24:13.462196 2018] [ssl:emerg] [pid 14259] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 15:24:13.462259 2018] [ssl:emerg] [pid 14259] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 15:29:12.703818 2018] [ssl:emerg] [pid 15379] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 15:29:12.703887 2018] [ssl:emerg] [pid 15379] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 16:14:41.283388 2018] [ssl:emerg] [pid 26572] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 16:14:41.286169 2018] [ssl:emerg] [pid 26572] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 16:14:55.140487 2018] [ssl:emerg] [pid 26682] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 16:14:55.140582 2018] [ssl:emerg] [pid 26682] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 16:15:30.060854 2018] [ssl:emerg] [pid 26854] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 16:15:30.060974 2018] [ssl:emerg] [pid 26854] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Jan 05 18:53:18.353682 2018] [ssl:emerg] [pid 9599] AH02572: Failed to configure at least one certificate and key for cxClient443.draglet.test:80
[Fri Jan 05 18:53:18.353750 2018] [ssl:emerg] [pid 9599] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
What is the issue here and how to make the Apache run? I'm using the Linux/ Debian for a month now and still not familiar with everything

Having problems accessing Apache Webserver from Webmin

I'm running apache on AMI, and I am unable to start the server through webmin. When I try, I get:
Failed to start apache : Apache does not appear to be running :
[Wed Sep 07 20:53:22.937284 2016] [suexec:notice] [pid 9985] AH01232: suEXEC >mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Sep 07 20:53:22.958565 2016] [auth_digest:notice] [pid 9986] AH01757: generating secret for digest authentication ...
[Wed Sep 07 20:53:22.959164 2016] [lbmethod_heartbeat:notice] [pid 9986] AH02282: No slotmem from mod_heartmonitor
[Wed Sep 07 20:53:22.983021 2016] [mpm_prefork:notice] [pid 9986] AH00163: Apache/2.4.23 (Amazon) PHP/5.6.24 configured -- resuming normal operations
[Wed Sep 07 20:53:22.983041 2016] [core:notice] [pid 9986] AH00094: Command line: '/usr/sbin/httpd'
This is my first time setting up a site on AWS, and any help would be greatly appreciated!
Make sure whether Apache is running or not by issuing the below command:
ps ax | grep httpd | grep -v grep
or try to visit your index.html page.
Also, just for your reference, webmin was dropped by Ubuntu https://help.ubuntu.com/community/WebMin

Xampp Apache Wont start after wordpress installation

I've been using Xampp for quite some time with no major hiccups. I attempted to make a local copy of one of my Wordpress sites. Seeing that Bitnami had an installer I attempted to use that. At the end of the installation it hung at maybe 5% left. So i cancelled and it supposedly cleaned up its files. Getting back into it today. Apache will not start. I have checked error logs and nothing seems to indicate what it actually is:
[Wed Sep 16 10:34:46.441511 2015] [ssl:warn] [pid 4424:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:34:46.675505 2015] [ssl:warn] [pid 4424:tid 248] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:34:47.127893 2015] [mpm_winnt:notice] [pid 4424:tid 248] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Wed Sep 16 10:34:47.127893 2015] [mpm_winnt:notice] [pid 4424:tid 248] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Wed Sep 16 10:34:47.127893 2015] [core:notice] [pid 4424:tid 248] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 16 10:34:47.127893 2015] [mpm_winnt:notice] [pid 4424:tid 248] AH00418: Parent: Created child process 6624
[Wed Sep 16 10:34:47.985871 2015] [ssl:warn] [pid 6624:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:34:48.251065 2015] [ssl:warn] [pid 6624:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:34:48.313463 2015] [mpm_winnt:notice] [pid 6624:tid 260] AH00354: Child: Starting 150 worker threads.
[Wed Sep 16 10:39:12.205587 2015] [ssl:warn] [pid 6860:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:39:12.486382 2015] [ssl:warn] [pid 6860:tid 240] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:39:12.533181 2015] [mpm_winnt:notice] [pid 6860:tid 240] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Wed Sep 16 10:39:12.533181 2015] [mpm_winnt:notice] [pid 6860:tid 240] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Wed Sep 16 10:39:12.533181 2015] [core:notice] [pid 6860:tid 240] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 16 10:39:12.533181 2015] [mpm_winnt:notice] [pid 6860:tid 240] AH00418: Parent: Created child process 7100
[Wed Sep 16 10:39:13.500362 2015] [ssl:warn] [pid 7100:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:39:13.937154 2015] [ssl:warn] [pid 7100:tid 252] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 16 10:39:13.983953 2015] [mpm_winnt:notice] [pid 7100:tid 252] AH00354: Child: Starting 150 worker threads.
I am not running IIS or Skype. Anyone have any ideas on what might be going wrong?
EDIT:
Should have mentioned. Nothing is listening on port 80 or 443. Also attempted to use other ports just in case. Still no dice.
Alright finally found my answer. After digging through Event viewer I found a syntax error in the httpd.conf file. Turns out as suspected Bitnami did not quite clean everything up as they had said. This was left behind and Xampp was unable to compile.
Include "C:/xampp/apps/wordpress/conf/httpd-prefix.conf"

Apache virtualhost error missing dependencies

I am trying to simply set up a virtual host which ive done a million times. however right now im getting the following error:
10:01:11 [Apache] Error: Apache shutdown unexpectedly.
10:01:11 [Apache] This may be due to a blocked port, missing dependencies,
10:01:11 [Apache] improper privileges, a crash, or a shutdown by another method.
10:01:11 [Apache] Press the Logs button to view error logs and check
10:01:11 [Apache] the Windows Event Viewer for more clues
10:01:11 [Apache] If you need more help, copy and post this
10:01:11 [Apache] entire log window on the forums
my hosts file looks like this:
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 system.local
And my httpd-vhosts file looks like this:
<VirtualHost system.local>
DocumentRoot "C:\xampp\htdocs\system"
ServerName system.local
<Directory "C:\xampp\htdocs\system">
Order allow, deny
Allow from all
</Directory>
</VirtualHost>
Can anyone tell me why im getting this error?
Error log:
[Wed Sep 03 09:39:22.802060 2014] [ssl:warn] [pid 3992:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:39:23.145261 2014] [core:warn] [pid 3992:tid 268] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Sep 03 09:39:23.332461 2014] [ssl:warn] [pid 3992:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:39:25.126464 2014] [mpm_winnt:notice] [pid 3992:tid 268] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 configured -- resuming normal operations
[Wed Sep 03 09:39:25.126464 2014] [mpm_winnt:notice] [pid 3992:tid 268] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Wed Sep 03 09:39:25.126464 2014] [core:notice] [pid 3992:tid 268] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 03 09:39:25.142064 2014] [mpm_winnt:notice] [pid 3992:tid 268] AH00418: Parent: Created child process 4896
[Wed Sep 03 09:39:25.968866 2014] [ssl:warn] [pid 4896:tid 280] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:39:26.218466 2014] [ssl:warn] [pid 4896:tid 280] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:39:26.343266 2014] [mpm_winnt:notice] [pid 4896:tid 280] AH00354: Child: Starting 150 worker threads.
[Wed Sep 03 09:59:20.207001 2014] [ssl:warn] [pid 6980:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:59:20.268004 2014] [core:warn] [pid 6980:tid 264] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Sep 03 09:59:20.430013 2014] [ssl:warn] [pid 6980:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:59:20.613024 2014] [mpm_winnt:notice] [pid 6980:tid 264] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 configured -- resuming normal operations
[Wed Sep 03 09:59:20.613024 2014] [mpm_winnt:notice] [pid 6980:tid 264] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Wed Sep 03 09:59:20.613024 2014] [core:notice] [pid 6980:tid 264] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 03 09:59:20.633025 2014] [mpm_winnt:notice] [pid 6980:tid 264] AH00418: Parent: Created child process 6784
[Wed Sep 03 09:59:21.453072 2014] [ssl:warn] [pid 6784:tid 280] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:59:21.666084 2014] [ssl:warn] [pid 6784:tid 280] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Sep 03 09:59:21.703086 2014] [mpm_winnt:notice] [pid 6784:tid 280] AH00354: Child: Starting 150 worker threads.