
Wir haben einen Apache 2.4.53 und wenn sie versuchen, darauf zuzugreifen, wird ein 500-Fehler und Folgendes in der Datei error_log angezeigt:
[Thu Jan 25 23:56:22.600893 2024] [core:error] [pid 24313:tid 140492557752064] [client 172.31.xx.yy:39564] AH00027: No authentication done but request not allowed without authentication for /CN=XXXX.... Authentication not configured?
In der Datei ssl.conf ist ein VirtualHost eingerichtet:
<VirtualHost *:7513>
SSLEngine on
SSLCompression off
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4:!NULL:!3DES
SSLHonorCipherOrder on
.
.
SSLVerifyClient require
SSLVerifyDepth 10
SSLOptions +ExportCertData +StdEnvVars +LegacyDNStringFormat
DocumentRoot "/apps/aaa/bbb"
ServerName sim.foo.com
ServerAlias sim.foo.com
ScriptAlias /rest/users "/apps/aaa/bbb/test7.pl"
<Directory "/apps/aaa/bbb">
Allow from all
</Directory>
<Location /rest>
AuthType None
Require all granted
</Location>
</VirtualHost>
Ich verstehe nicht, warum dieser Fehler auftritt, da und <Location /rest> den Zugriff offenbar erlauben sollten, ich bin aber auch mit diesem speziellen System nicht so vertraut und hoffe daher, dass mir jemand sagen kann, was falsch sein könnte und wie ich das Problem beheben kann.
Danke, Jim
EDIT1: Hinzufügen der Ausgaben „apachectl -S“ und „apachectl -t“:
[root@simfed01 conf]# /apps/products/apache/2.4.53/bin/apachectl -S
VirtualHost configuration:
ServerRoot: "/apps/products/apache/2.4.53"
Main DocumentRoot: "/apps/products/apache/2.4.53/htdocs"
Main ErrorLog: "/apps/products/apache/2.4.53/logs/error_log"
Mutex ssl-cache: using_defaults
Mutex default: dir="/apps/products/apache/2.4.53/logs/" mechanism=default
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
PidFile: "/apps/products/apache/2.4.53/logs/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="orcladmin" id=2008
Group: name="orcladmin" id=4503
[root@simfed01 conf]# /apps/products/apache/2.4.53/bin/apachectl -t
Syntax OK