• Register
0 votes
80 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

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 16 views
16 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 Raphael Pacheco 4.9k points
0 votes
1 answer 124 views
124 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 jwilliam 3.9k points
0 votes
1 answer 1.2K views
1.2K 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 jwilliam 3.9k points
1 vote
1 answer 46 views
46 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... 172.20.0.224 Connecting to example.com|172.20.0.224|: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 stewart 4k points