FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Da_Erdinga am 18 Januar 2019, 22:25:18

Titel: https funktioniert im aktuellen Chromium nicht
Beitrag von: Da_Erdinga am 18 Januar 2019, 22:25:18
Hallo zusammen,


ich habe fhem 5.9 auf einem neuen RaspPi 3+ Grundinstalliert und WEB, WEBtablet und WEBphone abgesichert.
Jetzt wollte ich das ganze noch mit einem privaten Zertifikat via https absichern.
Dazu habe ich das fhemwiki https://wiki.fhem.de/wiki/Raspberry_Pi_%26_HTTPS
abgearbeitet.
Aber, egal was ich mache, mein Browser sagt immer https ist nicht aktiv und ich komme weiterhin nur über http auf meine Oberfläche.


Der RaspPi und fhem ist aktuell, apt-get update und apt-get upgrade hab ich gemacht.


Kann  mir jemand einen Tip geben, woran das noch liegen kann?


Danke
Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: marv99 am 18 Januar 2019, 23:53:45
Hallo Da_Erdinga,

als ich HTTPS aktiviert habe, hatte ich nach den Schritten aus dem Wiki noch FHEM durchgestartet:

save
shutdown restart


Vielleicht ist es das ja schon :)
Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: Da_Erdinga am 19 Januar 2019, 08:28:55
Das ist es leider nicht.
Auf dem Handy funktioniert es, nur am PC nicht.

Den "shutdown restart" hab ich mehrfach probiert.

Gesendet von meinem ONEPLUS A3003 mit Tapatalk

Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: marvin78 am 19 Januar 2019, 08:31:30
list von den betroffenen Devices (FHEMWEB), Log.
Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: Da_Erdinga am 19 Januar 2019, 09:54:15
Das kann ich erst heute Abend machen.

Gesendet von meinem ONEPLUS A3003 mit Tapatalk

Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: Da_Erdinga am 19 Januar 2019, 11:44:50
Jetzt hab ich es doch schneller geschafft...
Hier ist ein List des WEB-Device:
Internals:   CONNECTS   57 CSRFTOKEN  csrf_561430446116778 DEF        8083 global FD         5 NAME       WEB NR         3 NTFY_ORDER 50-WEB PORT       8083 SSL        1 STATE      Initialized TYPE       FHEMWEB READINGS: 2019-01-18 21:50:35   state           Initialized Attributes: HTTPS      1 sslVersion TLSv12:!SSLv3
Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: Da_Erdinga am 21 Januar 2019, 22:48:12
Jetzt hab ich noch die Ausgabe des Logfiles:

2019.01.18 08:15:45 1: Including fhem.cfg 2019.01.18 08:15:46 3: WEB: port 8083 opened 2019.01.18 08:15:46 2: eventTypes: loaded 0 events from ./log/eventTypes.txt 2019.01.18 08:15:46 1: usb create starting 2019.01.18 08:15:46 3: Probing CUL device /dev/ttyAMA0 2019.01.18 08:15:47 3: Probing TCM_ESP3 device /dev/ttyAMA0 2019.01.18 08:15:47 3: Probing ZWDongle device /dev/ttyAMA0 2019.01.18 08:15:47 3: Probing FRM device /dev/ttyAMA0 2019.01.18 08:15:52 1: usb create end 2019.01.18 08:15:52 0: Featurelevel: 5.8 2019.01.18 08:15:52 0: Server started with 6 defined entities (fhem.pl:17329/2018-09-12 perl:5.024001 os:linux user:fhem pid:6754) 2019.01.18 08:21:41 1: MKDIR restoreDir/save/2019-01-18 2019.01.18 08:23:26 3: WEBtablet: port 8085 opened 2019.01.18 08:25:03 3: WEBphone: port 8084 opened 2019.01.18 08:28:30 0: Server shutdown 2019.01.18 08:28:31 1: Including fhem.cfg 2019.01.18 08:28:32 3: WEB: port 8083 opened 2019.01.18 08:28:32 2: eventTypes: loaded 3 events from ./log/eventTypes.txt 2019.01.18 08:28:32 3: WEBtablet: port 8085 opened 2019.01.18 08:28:32 3: WEBphone: port 8084 opened 2019.01.18 08:28:32 1: Including ./log/fhem.save 2019.01.18 08:28:32 1: usb create starting 2019.01.18 08:28:32 3: Probing CUL device /dev/ttyAMA0 2019.01.18 08:28:32 3: Probing TCM_ESP3 device /dev/ttyAMA0 2019.01.18 08:28:32 3: Probing ZWDongle device /dev/ttyAMA0 2019.01.18 08:28:33 3: Probing FRM device /dev/ttyAMA0 2019.01.18 08:28:38 1: usb create end 2019.01.18 08:28:38 0: Featurelevel: 5.8 2019.01.18 08:28:38 0: Server started with 11 defined entities (fhem.pl:17329/2018-09-12 perl:5.024001 os:linux user:fhem pid:7193) 2019.01.18 08:30:24 3: telnetPort: port 7072 opened 2019.01.18 08:31:06 0: Server shutdown 2019.01.18 08:31:07 1: Including fhem.cfg 2019.01.18 08:31:07 3: WEB: port 8083 opened 2019.01.18 08:31:07 2: eventTypes: loaded 4 events from ./log/eventTypes.txt 2019.01.18 08:31:07 3: WEBtablet: port 8085 opened 2019.01.18 08:31:07 3: WEBphone: port 8084 opened 2019.01.18 08:31:07 3: telnetPort: port 7072 opened 2019.01.18 08:31:07 1: Including ./log/fhem.save 2019.01.18 08:31:07 1: usb create starting 2019.01.18 08:31:07 3: Probing CUL device /dev/ttyAMA0 2019.01.18 08:31:08 3: Probing TCM_ESP3 device /dev/ttyAMA0 2019.01.18 08:31:08 3: Probing ZWDongle device /dev/ttyAMA0 2019.01.18 08:31:08 3: Probing FRM device /dev/ttyAMA0 2019.01.18 08:31:13 1: usb create end 2019.01.18 08:31:13 0: Featurelevel: 5.8 2019.01.18 08:31:13 0: Server started with 13 defined entities (fhem.pl:17329/2018-09-12 perl:5.024001 os:linux user:fhem pid:7257) 2019.01.18 08:40:01 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:06 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:11 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:17 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:22 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:27 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:37 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:42 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:47 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:52 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:40:57 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:41:02 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:41:08 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 08:41:14 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.40) 2019.01.18 21:17:43 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.32) 2019.01.18 21:17:44 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.32) 2019.01.18 21:17:44 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.32) 2019.01.18 21:17:44 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.32) 2019.01.18 21:17:49 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.32) 2019.01.18 21:32:01 0: Server shutdown 2019.01.18 21:32:02 1: Including fhem.cfg 2019.01.18 21:32:02 3: WEB: port 8083 opened 2019.01.18 21:32:02 2: eventTypes: loaded 4 events from ./log/eventTypes.txt 2019.01.18 21:32:02 3: WEBtablet: port 8085 opened 2019.01.18 21:32:02 3: WEBphone: port 8084 opened 2019.01.18 21:32:02 3: telnetPort: port 7072 opened 2019.01.18 21:32:03 1: Including ./log/fhem.save 2019.01.18 21:32:03 1: usb create starting 2019.01.18 21:32:03 3: Probing CUL device /dev/ttyAMA0 2019.01.18 21:32:03 3: Probing TCM_ESP3 device /dev/ttyAMA0 2019.01.18 21:32:03 3: Probing ZWDongle device /dev/ttyAMA0 2019.01.18 21:32:03 3: Probing FRM device /dev/ttyAMA0 2019.01.18 21:32:09 1: usb create end 2019.01.18 21:32:09 0: Featurelevel: 5.8 2019.01.18 21:32:09 0: Server started with 13 defined entities (fhem.pl:17329/2018-09-12 perl:5.024001 os:linux user:fhem pid:14104) 2019.01.18 21:32:11 3: FHEMWEB WEB CSRF error: csrf_562440235408392 ne csrf_301543841832542 for client WEB_192.168.178.32_38882 / command save. For details see the csrfToken FHEMWEB attribute. 2019.01.18 21:50:34 0: Server shutdown 2019.01.18 21:50:35 1: Including fhem.cfg 2019.01.18 21:50:35 3: WEB: port 8083 opened 2019.01.18 21:50:35 2: eventTypes: loaded 4 events from ./log/eventTypes.txt 2019.01.18 21:50:35 3: WEBtablet: port 8085 opened 2019.01.18 21:50:35 3: WEBphone: port 8084 opened 2019.01.18 21:50:35 3: telnetPort: port 7072 opened 2019.01.18 21:50:35 1: Including ./log/fhem.save 2019.01.18 21:50:35 1: usb create starting 2019.01.18 21:50:36 3: Probing CUL device /dev/ttyAMA0 2019.01.18 21:50:36 3: Probing TCM_ESP3 device /dev/ttyAMA0 2019.01.18 21:50:36 3: Probing ZWDongle device /dev/ttyAMA0 2019.01.18 21:50:36 3: Probing FRM device /dev/ttyAMA0 2019.01.18 21:50:41 1: usb create end 2019.01.18 21:50:41 0: Featurelevel: 5.8 2019.01.18 21:50:41 0: Server started with 13 defined entities (fhem.pl:17329/2018-09-12 perl:5.024001 os:linux user:fhem pid:14995) 2019.01.18 22:31:38 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.20) 2019.01.18 22:31:38 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.20) 2019.01.18 22:31:39 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.20) 2019.01.18 22:31:40 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F09C:SSL routines:ssl3_get_record:http request (peer: 192.168.178.20) 2019.01.19 20:09:02 0: Server shutdown 2019.01.19 20:09:09 1: Including fhem.cfg 2019.01.19 20:09:10 3: WEB: port 8083 opened 2019.01.19 20:09:10 2: eventTypes: loaded 4 events from ./log/eventTypes.txt 2019.01.19 20:09:10 3: WEBtablet: port 8085 opened 2019.01.19 20:09:10 3: WEBphone: port 8084 opened 2019.01.19 20:09:10 3: telnetPort: port 7072 opened 2019.01.19 20:09:10 1: Including ./log/fhem.save 2019.01.19 20:09:10 1: usb create starting 2019.01.19 20:09:11 3: Probing CUL device /dev/ttyAMA0 2019.01.19 20:09:11 3: Probing TCM_ESP3 device /dev/ttyAMA0 2019.01.19 20:09:11 3: Probing ZWDongle device /dev/ttyAMA0 2019.01.19 20:09:11 3: Probing FRM device /dev/ttyAMA0 2019.01.19 20:09:17 1: usb create end 2019.01.19 20:09:17 0: Featurelevel: 5.8 2019.01.19 20:09:17 0: Server started with 13 defined entities (fhem.pl:17329/2018-09-12 perl:5.024001 os:linux user:fhem pid:513)
Vielleicht kann hier jemand erkennen, warum das https bei mir nicht so will, wie es soll.Danke für eure Hilfe.
Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: marvin78 am 22 Januar 2019, 07:15:22
Ich habe, ehrlich gesagt, keine Lust, das in eine lesbare Form zu bringen.
Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: Da_Erdinga am 22 Januar 2019, 07:23:10
Hallo Marvin78,

Hast du die Möglichkeit, dir das List auf dem Handy mit Tapatalk anzuschauen?
Da steht es seltsamerweise in lesbarer Form.
Das Problem, das alles in einer Reihe gepostet wird haben im Forum mehr Leute...



Gesendet von meinem ONEPLUS A3003 mit Tapatalk

Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: marvin78 am 22 Januar 2019, 07:24:50
Ich nutze tapatalk nicht. Das ist eines der überflüssigsten Tools, das ich kenne.
Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: MadMax-FHEM am 22 Januar 2019, 07:40:39
Warum hast du das Attribut sslVersion gesetzt!?
(wenn ich das jetzt in der dargestellten Form richtig erkannt hab)

EDIT: ja steht im Wiki... Und ist (laut commandref) auch Standard. Aber in der commandref steht was bzgl. des Attributes und Problemen...

Gruß, Joachim
Titel: Antw:https funktioniert im aktuellen Chromium nicht
Beitrag von: Da_Erdinga am 22 Januar 2019, 07:52:18
Ich möchte die ssl-Version nutzen, um eine "gesicherte" Verbindung zu erreichen.
Und, um mein Wissen zu verbessern...

Dann schau ich mir die Commandref noch mal an...
Mein andFHEM hat die SSL-Verbindung erkannt...

Gesendet von meinem ONEPLUS A3003 mit Tapatalk