NEWS
admin Adapter funktioniert nicht sobald anderes Zertifikat
-
Hallo zusammen,
Sobald ich ein selbst signiertes Zertifikat und dessen Key im Admin Adapter einspiele, crashed die Admin Instanz und kommt nicht mehr hoch. Muss dann die Admin Instanz löschen und neu hinzufpgen via CLI.
Im Log steht folgendes:
2022-04-13 22:27:06.176 - ^[[32minfo^[[39m: host.iobroker instance system.adapter.admin.0 started with pid 16925 2022-04-13 22:27:07.931 - ^[[32minfo^[[39m: admin.0 (16925) starting. Version 5.3.4 in /opt/iobroker/node_modules/iobroker.admin, node: v12.22.12, js-controller: 4.0.21 2022-04-13 22:27:07.984 - ^[[32minfo^[[39m: admin.0 (16925) requesting all states 2022-04-13 22:27:07.985 - ^[[32minfo^[[39m: admin.0 (16925) requesting all objects 2022-04-13 22:27:08.404 - ^[[32minfo^[[39m: admin.0 (16925) received all objects 2022-04-13 22:27:08.575 - ^[[32minfo^[[39m: admin.0 (16925) http server listening on port 8081 2022-04-13 22:27:08.576 - ^[[32minfo^[[39m: admin.0 (16925) Use link "http://localhost:8081" to configure.
nach dem Versuch einen manuellen neustarts über iobroker restart/start admin.0 kommt folgendes:
2022-04-13 22:35:43.870 - ^[[32minfo^[[39m: admin.0 (17307) starting. Version 5.3.4 in /opt/iobroker/node_modules/iobroker.admin, node: v12.22.12, js-controller: 4.0.21 2022-04-13 22:35:43.990 - ^[[32minfo^[[39m: admin.0 (17307) requesting all states 2022-04-13 22:35:43.991 - ^[[32minfo^[[39m: admin.0 (17307) requesting all objects 2022-04-13 22:35:44.451 - ^[[32minfo^[[39m: admin.0 (17307) received all objects 2022-04-13 22:35:44.580 - ^[[31merror^[[39m: admin.0 (17307) Cannot create web-server: Error: error:0909006C:PEM routines:get_name:no start line 2022-04-13 22:35:44.582 - ^[[32minfo^[[39m: admin.0 (17307) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2022-04-13 22:35:45.098 - ^[[32minfo^[[39m: admin.0 (17307) terminating https server on port 8081 2022-04-13 22:35:45.133 - ^[[31merror^[[39m: host.iobroker instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2022-04-13 22:35:45.134 - ^[[32minfo^[[39m: host.iobroker Do not restart adapter system.adapter.admin.0 because desired by instance
Habe das Zertifikat auf einer Linux Maschine per openssl erstellt.
Hierzu habe ich folgenden Guide befolgt:
Vielleicht hat ja jemand ne Idee.
Hatte auch schon den Gedanken, dass ich hier einen Fehler eingebaut habe, aber habe es 3 mal durchgeführt ohne Erfolg.Gruß
Daniel