June-18th-2020, 05:40 PM
The “http in”-Node runs inside the Node-Red instance and is reachable at port 1880 with any kind of / e.g. http://localhost:1880/test (see https://cookbook.nodered.org/http/create...p-endpoint)
I found out that it must be some issue with the HTTPS certificate. I set up the example form the link above and then tried to access it using the program curl.
Below is what I got:
Curl with certificate check
Curl without certificate check
So, my question would be how can i set up the HTTPS certificate for the Node-Red container?
kind regards,
Daniel
I found out that it must be some issue with the HTTPS certificate. I set up the example form the link above and then tried to access it using the program curl.
Below is what I got:
Curl with certificate check
Code:
curl -u admin:password https://192.168.75.12:1880/test
curl: (77) schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - Die Zertifikatkette wurde von einer nicht vertrauenswürdigen Zertifizierungsstelle ausgestellt.
Curl without certificate check
Code:
curl -u admin:password https://192.168.75.12:1880/test -k
<html>
<head></head>
<body>
<h1>Hello World!</h1>
</body>
</html>
So, my question would be how can i set up the HTTPS certificate for the Node-Red container?
kind regards,
Daniel