[Sat Sep 18 01:59:43.262482 2021] [ssl:warn] [pid 17460:tid 139730215180160] AH01909: SSL.aabbcc.com:443:0 server certificate does NOT include an ID which matches the server name

Please..help

Try to remove the SSL prefix behind the servername, save it, and revisit and see that the certificate does not match.

4 months later

Hello, I have the smae problem with all the websites on hosting.
In my log there is a message:

AH01909: SSL.helpdesk.improve.sk:443:0 server certificate does NOT include an ID which matches the server name

Here is my config file of Apache web server:

`<VirtualHost :80>
ServerAdmin webmaster@improve.sk
DocumentRoot "/www/wwwroot/helpdesk.improve.sk/public"
ServerName 343634b6.helpdesk.improve.sk
ServerAlias helpdesk.improve.sk
#errorDocument 404 /404.html
ErrorLog "/www/wwwlogs/helpdesk.improve.sk-error_log"
CustomLog "/www/wwwlogs/helpdesk.improve.sk-access_log" combined
#HTTP_TO_HTTPS_START
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{SERVER_PORT} !443$
RewriteRule (.
) https://%{SERVER_NAME}$1 [L,R=301]
</IfModule>
#HTTP_TO_HTTPS_END

#DENY FILES
 <Files ~ (\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)$>
   Order allow,deny
   Deny from all
</Files>

#PHP
<FilesMatch \.php$>
        SetHandler "proxy:unix:/tmp/php-cgi-74.sock|fcgi://localhost"
</FilesMatch>

#PATH
<Directory "/www/wwwroot/helpdesk.improve.sk/public">
    SetOutputFilter DEFLATE
    Options FollowSymLinks
    AllowOverride All
    Require all granted
    DirectoryIndex index.php index.html index.htm default.php default.html default.htm
</Directory>

</VirtualHost>

<VirtualHost *:443>
ServerAdmin webmaster@example.com
DocumentRoot "/www/wwwroot/helpdesk.improve.sk/public"
ServerName SSL.helpdesk.improve.sk
ServerAlias helpdesk.improve.sk
#errorDocument 404 /404.html
ErrorLog "/www/wwwlogs/helpdesk.improve.sk-error_log"
CustomLog "/www/wwwlogs/helpdesk.improve.sk-access_log" combined


#SSL
SSLEngine On
SSLCertificateFile /www/server/panel/vhost/cert/helpdesk.improve.sk/fullchain.pem
SSLCertificateKeyFile /www/server/panel/vhost/cert/helpdesk.improve.sk/privkey.pem
SSLCipherSuite EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5
SSLProtocol All -SSLv2 -SSLv3 -TLSv1
SSLHonorCipherOrder On


#PHP
<FilesMatch \.php$>
        SetHandler "proxy:unix:/tmp/php-cgi-74.sock|fcgi://localhost"
</FilesMatch>


#DENY FILES
 <Files ~ (\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)$>
   Order allow,deny
   Deny from all
</Files>

#PATH
<Directory "/www/wwwroot/helpdesk.improve.sk/public">
    SetOutputFilter DEFLATE
    Options FollowSymLinks
    AllowOverride All
    Require all granted
    DirectoryIndex index.php index.html index.htm default.php default.html default.htm
</Directory>

</VirtualHost>
`

    murin
    Modify ServerName ssl.helpdesk.improp.sk to ServerName helpdesk.improp.sk

    Save the configuration and restart the Apache service. Check whether a certificate mismatch problem is displayed

      aaPanel_Captain hi, I have already done that according tou your upfront advice, but it did not helped.

      This is OK with the apache configuration?

      <VirtualHost *:80>
      ServerAdmin webmaster@improve.sk
      DocumentRoot "/www/wwwroot/helpdesk.improve.sk/public"
      ServerName 343634b6.helpdesk.improve.sk
      ServerAlias helpdesk.improve.sk

      <VirtualHost *:443>
      ServerAdmin webmaster@example.com
      DocumentRoot "/www/wwwroot/helpdesk.improve.sk/public"
      ServerName helpdesk.improve.sk
      ServerAlias helpdesk.improve.sk
      #errorDocument 404 /404.html
      ErrorLog "/www/wwwlogs/helpdesk.improve.sk-error_log"
      CustomLog "/www/wwwlogs/helpdesk.improve.sk-access_log" combined


        a year later

        Hi @aaPanel_Captain

        The solution work in my case.

        Now I wonder if it will be necessary to repeat this modification after the SSL renewal? Is there anything I should be aware of? And... is there a simple explanation for this warning? I say this because the question is from September 2021 and this warning has not been corrected in aaPanel.

        Thank you.

          sdesergi
          Hello, this program identification code for adding ssl to the panel does not affect the operation of the website
          You can also delete it, and the subsequent addition of ssl will not be affected

          7 months later

          I also have a same problem and doesn't khow how to resolve it.