• Register
0 votes

Problem :

I am trying to use the XAMPP and also started Apache but I cannot access my site over the HTTPS.

I am facing the below error :

[Mon Dec 16 08:05:33.208723 2019] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Mon Dec 16 08:05:33.746774 2019] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Mon Dec 16 08:05:33.825871 2019] [mpm_winnt:notice] [pid 3784:tid 256] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.6 configured -- resuming normal operations [Mon Dec 16 08:05:33.825871 2019] [mpm_winnt:notice] [pid 3784:tid 256] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01 [Mon Dec 16 08:05:33.825871 2019] [core:notice] [pid 3784:tid 256] AH00094: Command line: 'D:\xampp\apache\bin\httpd.exe -d D:/xampp/apache' [Mon Dec 16 08:05:33.830753 2019] [mpm_winnt:notice] [pid 3784:tid 256] AH00418: Parent: Created child process 4452 [Mon Dec 16 08:05:33.148052 2019] [ssl:warn] [pid 4452:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name

What is wrong and how can I correct it?

6 5 3
7,540 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

[Mon Dec 16 08:05:33.208723 2019] [ssl:warn] [pid 3784:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name

This clearly means there is a server name of xyz.example.com but the certificate is for the  yyy.example.com only. In the current situation, while Apache will try to serve such certificate, but the browser s will not accept them when trying to access https://xyz.example.com, for instance.

So please try to install the newer version not latest version

1.      Take backup of all databases and code

2.      Uninstall the XAMPP

3.      Install the newer version

That should fix your issue.

9 7 4
38,600 points
0 votes


openssl x509 -in server.crt -noout -subject

Should return the CN the of the certificate. That's the name you have to use in the ServerName directive and to connect to.

Alternatively, if, like me, you aren't even using ssl, you will still get this error message because using ssl is turned on by default. In that case, turn it off! Here's an excerpt from

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
#SSLEngine on
SSLEngine off

However, Apache's messages seem to talk about some other certificate:

[ssl:warn] [pid 4787] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[ssl:debug] [pid 4787] ssl_util_ssl.c(489): AH02412: [owncloud.domain.com:443]
Cert does not match for name 'owncloud.domain.com' 
[subject: emailAddress=root@localhost.localdomain,CN=localhost.localdomain,
OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=-- / 
issuer: emailAddress=root@localhost.localdomain,CN=localhost.localdomain,
OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=-- /
serial: 7B1C / notbefore: Jul  4 10:13:52 2014 GMT / notafter: Jul  4 10:13:52 2015 GMT]

Please run grep -r SSLCertificateFile /etc/httpd and see if remnants of the default configuration are left in any other Apache configuration file. It might be that another SSLCertificateFile directive is overriding the one you've specified in your vhosts.conf.

Method 1: Editing the httpd[dot]conf File

Method 2: Regenerating New Certificates

10 6 4
31,120 points

Related questions

0 votes
1 answer 19 views
Problem: I have very basic knowledge on PHP , XAMPP, Mandrill API and I am using them on Windows 7. Now if I try to use my Mandrill API then I am facing the below error: Uncaught exception 'Mandrill_HttpError' with message 'API call to messages/send- ... curl.haxx.se/docs/caextract.html However after all the steps restarted XAMPP and Apache server and still I am facing the same above error.
asked Jul 14, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 449 views
Problem : I want to install the Xampp win32-1.8.2 on Windows 8.1. But I get below message saying " Because an activated user account User Account on your system some functions of XAMPP are possibly restricted." I have already tried to change my user account control settings but ... . And my APACHE does not start. I have also disabled the IIS but still, it is not at all working. What can I do?
asked Feb 4, 2020 jwilliam 3.9k points
0 votes
1 answer 1.9K views
Problem : I had to remove a +CompatEnvVars from following : SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire As it said it was an invalid command or something. So having removed that and following a instructions to a nail it get below error: ... maximum permissible length. (Error code: ssl_error_rx_record_too_long) I am very new to SSL, any advice on what is going wrong?
asked Jan 17, 2020 jwilliam 3.9k points
1 vote
1 answer 143 views
Problem : I am very new to wget. Currently I want to wget to my current box but I am facing below error: wget http://example.com --2013-03-01 15:03:30--  http://example.com/ Resolving example.com... Connecting to example.com||:80... ... it and tried to find solution on it. But unable to do so as I am very new to wget. I need expert help to fix by above wget error.
asked Apr 16, 2020 stewart 4k points
0 votes
1 answer 258 views
Problem : I have facing an issue with my C# PayTrace Gateway. My code was working fine until they turned off SSL3 due to the Poodle Exploit. When tried running my code I am getting the following message: The remote server has forcefully closed the connection. ... The client and server cannot communicate, because they do not possess a common algorithm. Any clue on error messages which I am facing?
asked Nov 29, 2019 alecxe 7.5k points
0 votes
1 answer 25 views
There was a problem i am having following issue: confirming the ssl certificate: [ssl: tlsv1_alert_protocol_version] Can anyone suggest what is wrong?
asked Jul 22, 2020 James Martin 2.2k points
0 votes
1 answer 345 views
Problem : I have upgraded to PHP 5.6 I am getting an error as follows whenever I am trying to connect to the server via fsockopen(). The certificate on the server or host is self signed. PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages ... se/ca/cacert.pem The php.ini openssl.cafile = "/etc/ssl/certs/cacert.pem" But the script is still failing to work as expected.
asked Nov 26, 2019 alecxe 7.5k points
0 votes
1 answer 157 views
Problem : I have installed the fresh copy of the Centos 7. Then I just restarted Apache but my Apache failed to start. I am stuck with the bellow error from past 5 days. Even my support could not figure out the below error. sudo service httpd start Failed to ... could not bind to address Jan 04 16:08:02 startdedicated.de httpd[5710]: no listening sockets available, shutting down
asked Jan 10, 2020 alecxe 7.5k points