'XAMPP Error: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
I am running XAMPP and have rebuilt my PHP server from the ground up, renamed the server from ServerV1 to ServerV2, and now attempting a basic POST request from Android volley, returns the error found within the Apache logs:
[Sat Dec 19 19:24:57.528601 2015] [core:notice] [pid 7956:tid 260] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Dec 19 19:24:57.531601 2015] [mpm_winnt:notice] [pid 7956:tid 260] AH00418: Parent: Created child process 5784
[Sat Dec 19 19:24:58.047631 2015] [ssl:warn] [pid 5784:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Dec 19 19:24:58.290645 2015] [ssl:warn] [pid 5784:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Dec 19 19:24:58.325647 2015] [mpm_winnt:notice] [pid 5784:tid 272] AH00354: Child: Starting 150 worker threads.
I am not listening on any used ports:
I have research others simply running as an administrator in sources like: https://teamtreehouse.com/community/solved-xampp-apache-error and XAMPP - Apache Error
Upon attempting that, it still does not work, where the only return from any POST is a 0.
NOTE: I have tested every action with google chromes POSTMAN and know my routes do work and return the proper JSON objects. https://chrome.google.com/webstore/detail/postman-rest-client-short/mkhojklkhkdaghjjfdnphfphiaiohkef?hl=en
What steps can I take to alleviate this issue?
Solution 1:[1]
Try just by commenting Listen 443 (like #Listen 443)in httpd-ssl.conf file. it will Work 100%. Mine site it has work 100%.
Solution 2:[2]
i know this is late but i've found the answer... Apparently you have to right click on the xampp-control.exe file and run it as administrator, and then probably it works perfectly now! that worked for me.
Solution 3:[3]
installing new xampp (7.3.16) works for me
Solution 4:[4]
This is possible due to DocumentRoot path have not set correctly.
Solution 5:[5]
I faced this issue after copying my xampp folder from windows 7 to another installation of windows 10.
Have tried the solutions listed here, but none worked for me. I had no time to try other solutions so I just made a new installation from scratch
Solution 6:[6]
Try this:
Open
httpd-ssl.confhere:C:\xampp\apache\conf\extraComment out the line and change it to
localhost#ServerName www.example.com:443 ServerName localhostAnd of course restart your Apache
Solution 7:[7]
I had the same issue, and I solved it. The reason for me was because port 8080 was in use. I found it by running "netstat -ab" in the command prompt in administrator mode. Then I changed the port (From both xampp config and httpd.conf) for something else and it worked.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | SaaD Ahmed |
| Solution 2 | Ande Caleb |
| Solution 3 | Taz Shetu |
| Solution 4 | U N |
| Solution 5 | Sarah Tammam |
| Solution 6 | |
| Solution 7 | SulaRanawake |

