NEWS
zertifikatsproblem? definitions/certificatesProps
-
moin,
ich habe bei div. adaptern probleme mit einer flut von fehlern im log.
-> beim öffenen der instanz-einstellung rattert jedes mal der log unten durch, habe es einmal komplett reinkopiert.betroffen ist (achtung, alles wilde vermutungen! ) jeder adapter der etwas mit den zertifikaten macht.
bspw. admin o. fritzdect adapter - sonst alles läuft sauber, auch beim speichern kommt das nicht nochmal.das self signed zertifikat ist ebenso "sauber", aber beim erstellen habe ich freilich nur die oblig. angaben drin.
also nix org./city/bla - das übliche eben...erwähne ich nur, weil sich das hier für mich im log laienhaft in diese richtung interpretieren lässt
strict mode: missing type "object" for keyword "properties" at "#/definitions/certificatesProps" (strictTypes)
vermisst da iobroker vlt. angaben/properties im zertifikat.............?habe schon nach allem möglichen gesucht, aber außer meinem eigenen post im fritzdect-thread finde ich nichts im zusammenhang mit iobroker.
hier der docker log
(kommt wie gesagt reproduzierbar wenn ich in die instance config gehe)> iobroker | 2023-11-05T14:07:19.510495546Z strict mode: missing type "object" for keyword "required" at "#/definitions/sendToProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.510733927Z > iobroker | 2023-11-05T14:07:19.512189050Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/sendToProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.512329178Z strict mode: missing type "object" for keyword "properties" at "#/definitions/sendToProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.512351846Z > iobroker | 2023-11-05T14:07:19.526563102Z strict mode: missing type "object" for keyword "required" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.526759649Z > iobroker | 2023-11-05T14:07:19.528148269Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.528275981Z strict mode: missing type "object" for keyword "properties" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.528301732Z > iobroker | 2023-11-05T14:07:19.553407071Z strict mode: missing type "object" for keyword "required" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.553549408Z > iobroker | 2023-11-05T14:07:19.554871611Z strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.555010031Z > iobroker | 2023-11-05T14:07:19.556060642Z strict mode: missing type "object" for keyword "properties" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.556195896Z > iobroker | 2023-11-05T14:07:19.568826526Z strict mode: missing type "object" for keyword "required" at "#/definitions/checkboxProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.568974989Z > iobroker | 2023-11-05T14:07:19.569914514Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/checkboxProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.570048893Z strict mode: missing type "object" for keyword "properties" at "#/definitions/checkboxProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.570601407Z > iobroker | 2023-11-05T14:07:19.576077179Z strict mode: missing type "object" for keyword "required" at "#/definitions/numberProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.576219850Z > iobroker | 2023-11-05T14:07:19.577583428Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/numberProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.577749474Z strict mode: missing type "object" for keyword "properties" at "#/definitions/numberProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.577776975Z > iobroker | 2023-11-05T14:07:19.585074754Z strict mode: missing type "object" for keyword "required" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.585216007Z > iobroker | 2023-11-05T14:07:19.586238785Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.586377330Z strict mode: missing type "object" for keyword "properties" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.586481916Z > iobroker | 2023-11-05T14:07:19.599794690Z strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.599934944Z > iobroker | 2023-11-05T14:07:19.601227937Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/cronProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.601415858Z strict mode: missing type "object" for keyword "properties" at "#/definitions/cronProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.602414802Z > iobroker | 2023-11-05T14:07:19.603222699Z strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps/oneOf/0" (strictTypes) > iobroker | 2023-11-05T14:07:19.603287284Z > iobroker | 2023-11-05T14:07:19.604917119Z strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps/oneOf/1" (strictTypes) > iobroker | 2023-11-05T14:07:19.605045039Z > iobroker | 2023-11-05T14:07:19.619608471Z strict mode: missing type "object" for keyword "required" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.619762767Z > iobroker | 2023-11-05T14:07:19.620601123Z strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.620734126Z strict mode: missing type "object" for keyword "properties" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.620757002Z > iobroker | 2023-11-05T14:07:19.664302836Z strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.664458965Z > iobroker | 2023-11-05T14:07:19.666574439Z strict mode: missing type "object" for keyword "properties" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.666735443Z > iobroker | 2023-11-05T14:07:19.669250510Z strict mode: use allowUnionTypes to allow union type keyword at "#/properties/width" (strictTypes) > iobroker | 2023-11-05T14:07:19.669383181Z > iobroker | 2023-11-05T14:07:19.792269684Z strict mode: missing type "object" for keyword "required" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.792409646Z > iobroker | 2023-11-05T14:07:19.793482591Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.793642262Z strict mode: missing type "object" for keyword "properties" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.793682138Z > iobroker | 2023-11-05T14:07:19.820872909Z strict mode: missing type "object" for keyword "required" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.821022413Z > iobroker | 2023-11-05T14:07:19.822308489Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.822682832Z strict mode: missing type "object" for keyword "properties" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.822737959Z > iobroker | 2023-11-05T14:07:19.901380567Z strict mode: missing type "object" for keyword "required" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.901523029Z > iobroker | 2023-11-05T14:07:19.903524500Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.903703879Z strict mode: missing type "object" for keyword "properties" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:19.903732463Z > iobroker | 2023-11-05T14:07:19.909603579Z strict mode: missing type "object" for keyword "required" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.909755375Z > iobroker | 2023-11-05T14:07:19.912134147Z strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.912275359Z strict mode: missing type "object" for keyword "properties" at "#" (strictTypes) > iobroker | 2023-11-05T14:07:19.912297651Z > iobroker | 2023-11-05T14:07:20.071910264Z strict mode: missing type "object" for keyword "required" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.072045809Z > iobroker | 2023-11-05T14:07:20.072915708Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.073052253Z strict mode: missing type "object" for keyword "properties" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.073084670Z > iobroker | 2023-11-05T14:07:20.972391864Z strict mode: missing type "object" for keyword "required" at "#/definitions/sendToProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.972538743Z > iobroker | 2023-11-05T14:07:20.973913905Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/sendToProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.974031575Z strict mode: missing type "object" for keyword "properties" at "#/definitions/sendToProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.974052159Z > iobroker | 2023-11-05T14:07:20.985329878Z strict mode: missing type "object" for keyword "required" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.985484882Z > iobroker | 2023-11-05T14:07:20.987399808Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.987535062Z strict mode: missing type "object" for keyword "properties" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:20.987563312Z > iobroker | 2023-11-05T14:07:21.001801486Z strict mode: missing type "object" for keyword "required" at "#/definitions/checkboxProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.001932698Z > iobroker | 2023-11-05T14:07:21.004588186Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/checkboxProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.004716231Z strict mode: missing type "object" for keyword "properties" at "#/definitions/checkboxProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.004830650Z > iobroker | 2023-11-05T14:07:21.008104280Z strict mode: missing type "object" for keyword "required" at "#/definitions/numberProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.008243367Z > iobroker | 2023-11-05T14:07:21.009543068Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/numberProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.009684239Z strict mode: missing type "object" for keyword "properties" at "#/definitions/numberProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.009708198Z > iobroker | 2023-11-05T14:07:21.015776444Z strict mode: missing type "object" for keyword "required" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.015916531Z > iobroker | 2023-11-05T14:07:21.016856764Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.016995893Z strict mode: missing type "object" for keyword "properties" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.017021394Z > iobroker | 2023-11-05T14:07:21.028114066Z strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.028292946Z > iobroker | 2023-11-05T14:07:21.029966241Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/cronProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.030190289Z strict mode: missing type "object" for keyword "properties" at "#/definitions/cronProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.030244540Z > iobroker | 2023-11-05T14:07:21.030922058Z strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps/oneOf/0" (strictTypes) > iobroker | 2023-11-05T14:07:21.031324402Z > iobroker | 2023-11-05T14:07:21.032814776Z strict mode: missing type "object" for keyword "required" at "#/definitions/cronProps/oneOf/1" (strictTypes) > iobroker | 2023-11-05T14:07:21.032946196Z > iobroker | 2023-11-05T14:07:21.131524380Z strict mode: missing type "object" for keyword "required" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.131669718Z > iobroker | 2023-11-05T14:07:21.133202925Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.133333971Z strict mode: missing type "object" for keyword "properties" at "#/definitions/passwordProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.133356471Z > iobroker | 2023-11-05T14:07:21.158346266Z strict mode: missing type "object" for keyword "required" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.158505270Z > iobroker | 2023-11-05T14:07:21.160088479Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.160232858Z strict mode: missing type "object" for keyword "properties" at "#/definitions/aliveProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.160257192Z > iobroker | 2023-11-05T14:07:21.254062957Z strict mode: missing type "object" for keyword "required" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.254288088Z > iobroker | 2023-11-05T14:07:21.255105402Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.255226947Z strict mode: missing type "object" for keyword "properties" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.255249447Z > iobroker | 2023-11-05T14:07:21.457317115Z strict mode: missing type "object" for keyword "required" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.457469827Z > iobroker | 2023-11-05T14:07:21.461112467Z strict mode: missing type "object" for keyword "additionalProperties" at "#/definitions/certificatesProps" (strictTypes) > iobroker | 2023-11-05T14:07:21.461303722Z strict mode: missing type "object" for keyword "properties" at "#/definitions/certificatesProps" (strictTypes)
und einmal die werksangaben der vollst. halber:
Hardwaresystem: odroidc4/arm Arbeitsspeicher: 4GB Festplattenart: eMMC Betriebssystem: armbian Node-Version: 18.18.2 Nodejs-Version: v18.18.2 NPM-Version: 9.8.1 Installationsart: docker Image genutzt: buanet/latest-v9 wird da jemand schlau draus?
-
@wollerosekaufe bei genau so. Ich suche auch nach der Ursache. Übrigens auch im Docker.
-
habe das nun nochmal mit einem komplett frischen image von buanet/iobroker:latest-v9 getestet, sobald ich ein self signed certificate hinterlege kommt stets diese meldung. sonst ist nichts weiter eingestellt, sollte also nicht an "fancy configs" liegen.
zertifikate sind wie erwähnt auch typ wald&wiese, falls interessant hier mal die config:
openssl genrsa (-aes256) -out [dev]-key.pem 4096 openssl req -new -nodes -out [dev]-req.csr -key [dev]-key.pem -config openssl.cfg -sha512 openssl x509 -req -in [dev]-req.csr -out [dev]-cert.pem -extfile v3.cfg -CA [CA]-cert.pem -CAkey [CA]-key.pem -CAcreateserial -days 365 -sha512 keyUsage = digitalSignature, keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth
ob das nun am docker image, am iobroker o. an mir liegt... kp
-
@wollerosekaufe sagte in zertifikatsproblem? definitions/certificatesProps:
sobald ich ein self signed certificate hinterlege
Kannst du bitte erläutern, auf welchem Weg du die Zertifikate hinterlegst?
-
@marc-berg
klardie zertifikate lade ich für alle container via volume:
volumes: - /opt/docker/iobroker:/opt/iobroker # data - /opt/docker/docker_ssl:/var/ssl:ro # SSL
dann in die iobroker config hinterlegt:
dockerssl_public /var/ssl/server.crt dockerssl_private /var/ssl/server.key
und dann im jeweiligen adapter eben auswählen.
läuft 1A, außer dieser meldung.das zertifikat muss dazu auch gar nicht "aktiv" sein - bspw. admin.0 läuft hier ohne SSL, aber er lädt dieses zertifikat für's dropdown. entsprechend kommen die fehler sobald man die adapter-config aufmacht.
-
@wollerosekaufe sagte in zertifikatsproblem? definitions/certificatesProps:
entsprechend kommen die fehler sobald man die adapter-config aufmacht.
Kann ich 1:1 so reproduzieren. Um sicherzugehen, dass es nicht an der Docker-Umgebung liegt, habe ich das mal in einer VM nachgestellt. Die Fehler treten dort auch auf, landen da natürlich nicht ganz so prominent im Syslog.
Hilft dir auch nicht weiter, aber damit kann man vielleicht ein Issue eröffnen. Bin mir nur unsicher, wo. Admin-Adapter? js-controller? -
@marc-berg sagte in zertifikatsproblem? definitions/certificatesProps:
Hilft dir auch nicht weiter, aber damit kann man vielleicht ein Issue eröffnen.
https://github.com/ioBroker/ioBroker.admin/issues/2251#issue-2029207370
-
@marc-berg
thx