nach einem Dist-Upgrade (bullseye zu bookworm) bekomme ich auf dem Apache2-Server beim Aufruf von postfixadmin diese Webbrowser-Ausgabe:
Code: Alles auswählen
Fehlercode: SSL_ERROR_PROTOCOL_VERSION_ALERT
Code: Alles auswählen
certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: mx.example.com
Serial Number: 4efdf8fb81729e22ce63a751e2f9a3e8ba3
Key Type: RSA
Domains: mx.examlpe.com
Expiry Date: 2023-10-03 22:49:08+00:00 (VALID: 56 days)
Certificate Path: /etc/letsencrypt/live/mx.example.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/mx.example.com/privkey.pem
Code: Alles auswählen
# postfixmail site configuration
# ! Do not remove this header !
#SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
<VirtualHost *:80>
ServerAdmin hostmaster@example.com
ServerName mx.example.com
ServerPath /
Alias /postfixadmin/ /var/www/postfixadmin/public
DocumentRoot "/var/www/postfixadmin/public"
<Directory "/var/www/postfixadmin/public">
Options -Indexes
AllowOverride None
Require all granted
</Directory>
<Files "setup.php">
Options -Indexes
AllowOverride None
Require all granted
</Files>
DirectoryIndex index.php
ErrorLog ${APACHE_LOG_DIR}/postfixadmin_error.log
CustomLog ${APACHE_LOG_DIR}/postfixadmin_access.log combined
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin hostmaster@example.com
ServerName mx.example.com
ServerPath /
Alias /postfixadmin/ /var/www/postfixadmin/public
DocumentRoot "/var/www/postfixadmin/public"
<Directory "/var/www/postfixadmin/public">
Options -Indexes
AllowOverride None
Require all granted
</Directory>
<Files "setup.php">
Options -Indexes
AllowOverride None
Require all granted
</Files>
DirectoryIndex index.php
ErrorLog ${APACHE_LOG_DIR}/postfixadmin_error.log
CustomLog ${APACHE_LOG_DIR}/postfixadmin_access.log combined
TraceEnable off
AddDefaultCharset utf-8
SSLEngine on
SSLProtocol -ALL +TLSv1
SSLCipherSuite EECDH+AES256:DHE+AES256:EECDH+AES:EDH+AES:-SHA1:EECDH+RC4:EDH+RC4:RC4-SHA:AES256-SHA:!aNULL:!eNULL:!EXP:!LOW:!MD5
SSLHonorCipherOrder on
SSLCertificateFile /etc/letsencrypt/live/mx.example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mx.example.com/privkey.pem
<Files "config.php">
Options +FollowSymLinks
Require host example.com
</Files>
<Location /rspamd>
Require all granted
</Location>
RewriteEngine On
RewriteRule ^/rspamd$ /rspamd/ [R,L]
RewriteRule ^/rspamd/(.*) http://127.0.0.1:11334/$1 [P]
</VirtualHost>
</IfModule>
Im Moment weiß ich nicht weiter. Vielleicht ihr?
Viele Grüße
MPenzi
Code: Alles auswählen
apachectl configtest
Syntax OK
Code: Alles auswählen
systemctl status apache2.service -l --no-pager
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: enabled)
Active: active (running) since Tue 2023-08-08 10:33:09 CEST; 12min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 9661 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 9665 (apache2)
Tasks: 7 (limit: 9481)
Memory: 18.7M
CPU: 172ms
CGroup: /system.slice/apache2.service
├─ 9665 /usr/sbin/apache2 -k start
├─ 9666 /usr/sbin/apache2 -k start
├─ 9667 /usr/sbin/apache2 -k start
├─ 9668 /usr/sbin/apache2 -k start
├─ 9669 /usr/sbin/apache2 -k start
├─ 9670 /usr/sbin/apache2 -k start
└─10957 /usr/sbin/apache2 -k start
Aug 08 10:33:09 mx systemd[1]: Starting apache2.service - The Apache HTTP Server...
Aug 08 10:33:09 mx systemd[1]: Started apache2.service - The Apache HTTP Server.
Code: Alles auswählen
# grep AH02572 /var/log/apache2/postfixadmin_error.log
[Tue Aug 08 09:51:10.259989 2023] [ssl:emerg] [pid 5842] AH02572: Failed to configure at least one certificate and key for mx.example.com:443
[Tue Aug 08 09:51:33.226621 2023] [ssl:emerg] [pid 5881] AH02572: Failed to configure at least one certificate and key for mx.example.com:443
[Tue Aug 08 10:13:01.364900 2023] [ssl:emerg] [pid 7811] AH02572: Failed to configure at least one certificate and key for mx.example.com:443
Code: Alles auswählen
# apache2ctl -M | grep ssl
ssl_module (shared)