• Register
0 votes
433 views

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

Solution:

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

config.d/ssl.conf:
#   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 22 views
22 views
Problem: www.example.com:443:0 server certificate does not include an id which matches the server name
asked Feb 23 Muneeb Saadii 130k points
0 votes
1 answer 40 views
40 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 3 views
3 views
Problrem: how to install ssl certificate in tomcat 7
asked Apr 6 Ifra 24.4k points
0 votes
1 answer 924 views
924 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 97 views
97 views
Problem: Please help me fix this dilemma “Some errors like port binding failed may not be assignable to a specific websocket”?
asked Mar 30 tuhin1 48.9k points
0 votes
0 answers 1 view
1 view
Problem: How can I change apache port number in xampp?
asked 1 hour ago muktaa 5.4k points
0 votes
1 answer 9 views
9 views
Problem: Can anyone help me about apache port? If anyone can, then please answer me. Anyone who can help me?
asked Mar 26 niyatiry 3.2k points
1 vote
1 answer 37 views
37 views
Problem : XAMPP ,Apache server all running good but When I re-installed XAMPP and I try to start my Apache server in the XAMPP Control Panel, I get this errors: 16:50:25 [Apache] Status change detected: running 16:50:26 [Apache] Status change detected: stopped 16:50: ... ] If you need more help, copy and post this 16:50:26 [Apache] entire log window on the forums Any help would be appreciated!
asked Mar 22 Shovo210 14k points
0 votes
1 answer 21 views
21 views
Problem: this may be due to a blocked port missing dependencies xampp
asked Feb 16 Ethan ross 2.7k points