XAMPP: How to stop SSL-related warning/error messages?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP: How to stop SSL-related warning/error messages?

Postby TomXampp » 27. April 2015 06:57

I have the current version of XAMPP (5.6.8 ) running without a hitch; my website runs perfectly on my localhost, etc.

However, the Apache error.log routinely reports these errors/warnings, apparently specific to SSL:

Code: Select all
[Sat Apr 25 15:21:41.154937 2015] [ssl:warn] [pid 3444:tid 452] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 25 15:21:41.498687 2015] [ssl:warn] [pid 3444:tid 452] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 25 15:21:47.300150 2015] [mpm_winnt:notice] [pid 3444:tid 452] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8 configured -- resuming normal operations
[Sat Apr 25 15:21:47.300150 2015] [mpm_winnt:notice] [pid 3444:tid 452] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Sat Apr 25 15:21:47.300150 2015] [core:notice] [pid 3444:tid 452] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Apr 25 15:21:47.300150 2015] [mpm_winnt:notice] [pid 3444:tid 452] AH00418: Parent: Created child process 3656
[Sat Apr 25 15:21:48.947283 2015] [ssl:warn] [pid 3656:tid 368] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 25 15:21:49.291054 2015] [ssl:warn] [pid 3656:tid 368] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name


What is causing these errors/warnings, and how do I stop them?

Others have posted this message in conjunction with XAMPP *failing* to execute and run a localhost and their website; that's not the case with me: localhost is running, and my site loads correctly. BUT: I don't like seeing these error/warning messages, and I can't find a cause nor a solution for them.

Many thanks for your help.
TomXampp
 
Posts: 28
Joined: 12. March 2015 03:58
Operating System: Windows 8.1

Re: XAMPP: How to stop SSL-related warning/error messages?

Postby Altrea » 27. April 2015 08:06

TomXampp wrote:What is causing these errors/warnings

XAMPP is configured with a dummy SSL configuration to test the SSL responses. This dummy can not match your local XAMPP environment, because you would need to have a self signed certificate matching this configuration.

TomXampp wrote:and how do I stop them?

Either Configure SSL yourself starting with creating certificates, etc.
or disabling https by commenting out the line Include conf/extra/httpd-ssl.conf in your Apache httpd.conf

TomXampp wrote:Others have posted this message in conjunction with XAMPP *failing* to execute and run a localhost and their website; that's not the case with me:

This message is in no case the reason for such problems. XAMPPs Apache will run without any negative influences.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: XAMPP: How to stop SSL-related warning/error messages?

Postby TomXampp » 27. April 2015 15:50

Thanks! Doing that suppressed those ssl:warn messages. However, those were then replaced with these warning messages in httpd.conf:

Code: Select all
[Mon Apr 27 09:47:47.017345 2015] [ssl:warn] [pid 2036:tid 460] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Apr 27 09:47:48.627010 2015] [ssl:warn] [pid 2356:tid 360] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]


To suppress those, I discovered I also had to rem-out this line:

Code: Select all
LoadModule ssl_module modules/mod_ssl.so


...and that eliminated all the SLL warning messages. Many thanks for helping me!
TomXampp
 
Posts: 28
Joined: 12. March 2015 03:58
Operating System: Windows 8.1


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 50 guests