Hallo,
jetzt auch ein neuer Tread.
Vielen dank schon mal an eure antworten. Wollir72 und Tamerlein
Leider bekomme ich https unter Apache2 OpenSuse 15.1 nicht zum fliegen.
Bin seit einigen Tagen am Verzweifeln. Vielleicht könnt Ihr mir helfen.
Liebe Grüße
Netzbox
wget localhost
Auflösen des Hostnamens localhost (localhost)… 127.0.0.1, ::1
Verbindungsaufbau zu localhost (localhost)|127.0.0.1|:443 … verbunden.
OpenSSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Es ist nicht möglich, eine SSL-Verbindung herzustellen.
Im Browser (Firefox) steht
Fehlercode: SSL_ERROR_RX_RECORD_TOO_LONG
Meine Configuration:
Ich nutze ein Selbst signiertes Zertifikat
vhost.conf
<IfDefine SSL>
<IfDefine !NOSSL>
<VirtualHost *:443>
DocumentRoot "/srv/www/htdocs"
ErrorLog /var/log/apache2/error_log
TransferLog /var/log/apache2/access_log
SSLEngine on
SSLCertificateFile /etc/apache2/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/server.key
CustomLog /var/log/apache2/ssl_request_log ssl_combined
</VirtualHost>
</IfDefine>
</IfDefine>
listen.conf
Listen 443
Listen 80
<IfDefine SSL>
<IfDefine !NOSSL>
<IfModule mod_ssl.c>
Listen 443
</IfModule>
</IfDefine>
</IfDefine>
/etc/sysconfig/apache2
APACHE_CONF_INCLUDE_FILES=""
APACHE_CONF_INCLUDE_DIRS=""
APACHE_MODULES="php7 actions alias auth_basic authn_core authn_file authz_host authz_groupfile authz_core authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl socache_shmcb userdir reqtimeout version php5 nss"
APACHE_SERVER_FLAGS="ssl"
APACHE_HTTPD_CONF=""
APACHE_MPM=""
APACHE_SERVERADMIN=""
APACHE_SERVERNAME=""
APACHE_START_TIMEOUT="2"
APACHE_SERVERSIGNATURE="off"
APACHE_LOGLEVEL="debug"
APACHE_ACCESS_LOG="/var/log/apache2/access_log combined"
APACHE_USE_CANONICAL_NAME="off"
APACHE_SERVERTOKENS="ProductOnly"
APACHE_EXTENDED_STATUS="off"
netstat -aeevpt --numeric-ports| grep 443
tcp6 0 0 [::]:443 [::]:* LISTEN root 78258 14325/httpd-prefork
Das hat das debug Log rausgeworfen.
[Sat Mar 07 17:31:58.263312 2020] [core:debug] [pid 14334] protocol.c(1278): [client 192.168.1.38:56394] AH00566: request failed: malformed request line
[Sat Mar 07 17:31:58.263634 2020] [authz_core:debug] [pid 14334] mod_authz_core.c(809): [client 192.168.1.38:56394] AH01626: authorization result of Require all granted: granted
[Sat Mar 07 17:31:58.263681 2020] [authz_core:debug] [pid 14334] mod_authz_core.c(809): [client 192.168.1.38:56394] AH01626: authorization result of <RequireAny>: granted
[Sat Mar 07 17:31:58.264289 2020] [authz_core:debug] [pid 14334] mod_authz_core.c(809): [client 192.168.1.38:56394] AH01626: authorization result of Require all granted: granted
[Sat Mar 07 17:31:58.264323 2020] [authz_core:debug] [pid 14334] mod_authz_core.c(809): [client 192.168.1.38:56394] AH01626: authorization result of <RequireAny>: granted
[Sat Mar 07 17:31:58.264545 2020] [authz_core:debug] [pid 14334] mod_authz_core.c(809): [client 192.168.1.38:56394] AH01626: authorization result of Require all granted: granted
[Sat Mar 07 17:31:58.264574 2020] [authz_core:debug] [pid 14334] mod_authz_core.c(809): [client 192.168.1.38:56394] AH01626: authorization result of <RequireAny>: granted
[Sat Mar 07 17:31:58.264719 2020] [authz_core:debug] [pid 14334] mod_authz_core.c(809): [client 192.168.1.38:56394] AH01626: authorization result of Require all granted: granted
[Sat Mar 07 17:31:58.264761 2020] [authz_core:debug] [pid 14334] mod_authz_core.c(809): [client 192.168.1.38:56394] AH01626: authorization result of <RequireAny>: granted
==> /var/log/apache2/access_log <==
192.168.1.38 - - [07/Mar/2020:17:31:58 +0100] "\x16\x03\x01\x02" 400 921 "-" "-"