server certificate does NOT include an ID which matches...

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

server certificate does NOT include an ID which matches...

Postby Monty May » 24. December 2018 00:07

Hello

I see this is an old post but I have a very similar problem. I see there are many posts about starting up Apache for the first time, so pardon my asking without fully reading them all. I am a beginner opening XAMPP fore the first time. When I read that the Apache module gets stopped when you don't run as an administrator, I right-clicked and ran as an administrator. And it worked! The start button read "stop". But now even though I run as administrator, it stops and I get a message similar to the one above. I don't need an SSL certificate for now because I just want to experiment with web development and msql on my local machine. A poster seems to have written that Apache is running even though this error occurs, but the button on my control panel does not go from "start" to "stop." Any tips or suggestion would be appreciated.

Monty May
Monty May
 
Posts: 4
Joined: 23. December 2018 23:03
XAMPP version: 5.6.38
Operating System: Windows 10 Home

Re: server certificate does NOT include an ID which matches.

Postby Altrea » 24. December 2018 08:34

Hi,

It is not possible to identify and solve your issue with this amount of information.
Please start reading the following topic carefully and give us all the information listed there
[Q&A] Insufficient debug information - Apache starting issue

Best wishes,
Altrea
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: 9801
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: server certificate does NOT include an ID which matches.

Postby Monty May » 25. December 2018 03:37

Hello Altrea,

Thank you for your reply. Here is the information requested:

XAMPP Ver. No: 5.6.38
Bundle ver: Full
Install file type: .exe
OS: Windows 10 Home ver. 1803
bit compilation: 64bit/x64
Installation path: C:\XAMPP1\

Did not execute any script
Did not use the XAMPP security script
Changed the port numbers for Apache but when it did not work I changed the port numbers back to the default value: 80

Issue report:
I click the Apache start button
I expected the label of the Apache "start" button to change to "stop," and the label "Apache" gets a green highlight, but
The label changes very briefly to "stop" than back to "start," and I get a error message in the bottom field

The contents of the control panel log:
7:39:46 AM [main] Initializing Control Panel
7:39:46 AM [main] Windows Version: Home 64-bit
7:39:46 AM [main] XAMPP Version: 5.6.38
7:39:46 AM [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
7:39:46 AM [main] Running with Administrator rights - good!
7:39:46 AM [main] XAMPP Installation Directory: "c:\xampp1\"
7:39:46 AM [main] Checking for prerequisites
7:39:46 AM [main] All prerequisites found
7:39:46 AM [main] Initializing Modules
7:39:46 AM [mysql] XAMPP MySQL is already running on port 3306
7:39:46 AM [filezilla] XAMPP FileZilla is already running on port 21
7:39:46 AM [filezilla] XAMPP FileZilla is already running on port 14147
7:39:46 AM [main] Enabling autostart for module "Apache"
7:39:46 AM [main] Enabling autostart for module "MySQL"
7:39:46 AM [main] Starting Check-Timer
7:39:46 AM [main] Control Panel Ready
7:39:46 AM [Apache] Autostart active: starting...
7:39:46 AM [Apache] Attempting to start Apache app...
7:39:46 AM [mysql] Autostart aborted: MySQL is already running
7:40:06 AM [Apache] Attempting to start Apache app...
7:40:06 AM [Apache] Status change detected: running
7:40:06 AM [Apache] Status change detected: stopped
7:40:06 AM [Apache] Error: Apache shutdown unexpectedly.
7:40:06 AM [Apache] This may be due to a blocked port, missing dependencies,
7:40:06 AM [Apache] improper privileges, a crash, or a shutdown by another method.
7:40:06 AM [Apache] Press the Logs button to view error logs and check
7:40:06 AM [Apache] the Windows Event Viewer for more clues
7:40:06 AM [Apache] If you need more help, copy and post this
7:40:06 AM [Apache] entire log window on the forums

Not sure whether I an running as windows service, but if I don't know, I probably am not.

The contents of the error log for Apache seems interesting, so I am including it:

[Sun Dec 02 10:37:34.999081 2018] [ssl:warn] [pid 4564:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 02 10:37:35.163642 2018] [ssl:warn] [pid 4564:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 02 10:37:35.197551 2018] [mpm_winnt:notice] [pid 4564:tid 560] AH00455: Apache/2.4.34 (Win32) OpenSSL/1.0.2o PHP/5.6.38 configured -- resuming normal operations
[Sun Dec 02 10:37:35.197551 2018] [mpm_winnt:notice] [pid 4564:tid 560] AH00456: Apache Lounge VC11 Server built: Jul 16 2018 11:02:31
[Sun Dec 02 10:37:35.197551 2018] [core:notice] [pid 4564:tid 560] AH00094: Command line: 'c:\\xampp1\\apache\\bin\\httpd.exe -d C:/xampp1/apache'
[Sun Dec 02 10:37:35.204531 2018] [mpm_winnt:notice] [pid 4564:tid 560] AH00418: Parent: Created child process 19232
[Sun Dec 02 10:37:35.786972 2018] [ssl:warn] [pid 19232:tid 592] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 02 10:37:35.916627 2018] [ssl:warn] [pid 19232:tid 592] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 02 10:37:35.945549 2018] [mpm_winnt:notice] [pid 19232:tid 592] AH00354: Child: Starting 150 worker threads.
[Sun Dec 02 10:52:44.484525 2018] [ssl:warn] [pid 24516:tid 584] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 02 10:52:44.520503 2018] [core:warn] [pid 24516:tid 584] AH00098: pid file C:/xampp1/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Dec 02 10:52:44.601315 2018] [ssl:warn] [pid 24516:tid 584] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 02 10:52:44.626209 2018] [mpm_winnt:notice] [pid 24516:tid 584] AH00455: Apache/2.4.34 (Win32) OpenSSL/1.0.2o PHP/5.6.38 configured -- resuming normal operations
[Sun Dec 02 10:52:44.626209 2018] [mpm_winnt:notice] [pid 24516:tid 584] AH00456: Apache Lounge VC11 Server built: Jul 16 2018 11:02:31
[Sun Dec 02 10:52:44.626209 2018] [core:notice] [pid 24516:tid 584] AH00094: Command line: 'c:\\xampp1\\apache\\bin\\httpd.exe -d C:/xampp1/apache'
[Sun Dec 02 10:52:44.628204 2018] [mpm_winnt:notice] [pid 24516:tid 584] AH00418: Parent: Created child process 6700
[Sun Dec 02 10:52:45.112955 2018] [ssl:warn] [pid 6700:tid 580] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 02 10:52:45.221522 2018] [ssl:warn] [pid 6700:tid 580] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 02 10:52:45.247479 2018] [mpm_winnt:notice] [pid 6700:tid 580] AH00354: Child: Starting 150 worker threads.

Does the statement: "server certificate does NOT include an ID which matches the server name" indicate the problem?

Happy to provide further information upon request.

Monty May
Monty May
 
Posts: 4
Joined: 23. December 2018 23:03
XAMPP version: 5.6.38
Operating System: Windows 10 Home

Re: server certificate does NOT include an ID which matches.

Postby Altrea » 25. December 2018 03:42

Please execute the apache_start.bat script and show us its output.
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: 9801
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: server certificate does NOT include an ID which matches.

Postby Monty May » 25. December 2018 08:08

Hi

Executing the apache_start.bat file resulted in the following output:

Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
AH00526: Syntax error on line 279 of C:/xampp1/apache/conf/httpd.conf:
Invalid command 'Add', perhaps misspelled or defined by a module not included in the server configuration

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue . . .

Monty
Monty May
 
Posts: 4
Joined: 23. December 2018 23:03
XAMPP version: 5.6.38
Operating System: Windows 10 Home

Re: server certificate does NOT include an ID which matches.

Postby Altrea » 25. December 2018 08:49

Monty May wrote:AH00526: Syntax error on line 279 of C:/xampp1/apache/conf/httpd.conf:
Invalid command 'Add', perhaps misspelled or defined by a module not included in the server configuration

That's your issue.
Please open your httpd.conf and show us what is written at lines 278-280
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: 9801
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: server certificate does NOT include an ID which matches.

Postby Monty May » 26. December 2018 11:21

Hello

In my previous posts I forgot that I did modify httpd.conf at the directions of a tutorial produced by LiveCode.com on how to add the product LiveCode Server to the Apache server.
I commented the lines out as shown below and now Apache starts. I develop in the development program LiveCode exclusively and was curious as to the purpose and use of LIveCode Server.

- - -
AllowOverride All
#AllowOverride None
#
# Controls who can get stuff from this server.
#
Require all granted
#Order allow,deny
#Allow from all
#Add Handler livecode-script.lc --This is line 279
#Action livecode-script/livecode-cgi/livecode-commmunity-server.exe
</Directory>


The above obviously did not work. So I will leave the addition of LiveCode Server for another day and learn how to use XAMPP as it came. Thanks very much for your help. What a great resource the forum is!

Monty May
Monty May
 
Posts: 4
Joined: 23. December 2018 23:03
XAMPP version: 5.6.38
Operating System: Windows 10 Home

Re: server certificate does NOT include an ID which matches.

Postby Altrea » 26. December 2018 12:03

Apache does not know a directive like 'Add Handler', but it does know 'AddHandler'.
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: 9801
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests