Hallo Forum,
ich versuche seit einiger Zeit einen https Zugang auf meinem Webserver zu aktivieren, mein http Zugang soll aber weiter laufen. Hierzu habe ich:
<VirtualHost *:443>
SSLEngine on
# curl https://ssl-config.mozilla.org/ffdhe2048.txt >> /path/to/signed_cert_and_intermediate_certs_and_dhparams
SSLCertificateFile /etc/apache2/ssl/apachessl.crt
SSLCertificateKeyFile /etc/apache2/ssl/apachessl.pem
# enable HTTP/2, if available
Protocols h2 http/1.1
# HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/withings
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
an meine /etc/apache2/sites-enabled/000-default.conf angefügt
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
so schaut meine ports.conf aus
und noch die error.log
[Mon Dec 30 11:48:34.425450 2024] [core:notice] [pid 5861] AH00094: Command line: '/usr/sbin/apache2'
[Mon Dec 30 11:50:07.589835 2024] [mpm_prefork:notice] [pid 5861] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 30 11:50:46.546940 2024] [ssl:warn] [pid 822] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 30 11:50:46.572254 2024] [ssl:warn] [pid 822] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 30 11:50:48.177705 2024] [ssl:warn] [pid 868] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 30 11:50:48.181520 2024] [ssl:warn] [pid 868] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 30 11:50:48.192606 2024] [mpm_prefork:notice] [pid 868] AH00163: Apache/2.4.57 (Raspbian) OpenSSL/3.0.11 configured -- resuming normal operations
[Mon Dec 30 11:50:48.192722 2024] [core:notice] [pid 868] AH00094: Command line: '/usr/sbin/apache2'
Ich habe verschiedene Anleitungen versucht das ssl Zertifikat zu erstellen jedoch leider ohne Erfolg. Vielleicht kann mir jemand helfen ?
Gruß
Frank