Allow adding root certificate #899
M-Gregoire
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I'm not aware of a correct workaround for this, however, adding options for this is not something I would consider either. The reasoning is that this simply is a use case that is pretty much edge/not widely used. Adding these options makes things more complicated for users and above all, adds maintenance over time. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem/Motivation
I run my own PKI, all my services are exposed with HTTPS, were the certificate is signed by a root certificate authority.
I'm trying to access some services from node-red (Inside a docker managed by HassOS) but the HTTPS requests fails with:
"Error Message: unable to get local issuer certificate"
.I wasn't able to find any way to add my root certificate so It can by accepted by node-red.
I also couldn't find any way to disable the SSL/TLS verification as a temporary fix. Modifying
settings.js
from inside the container being unpractical and not persistent between update.Proposed changes
I would love to see options such as:
verify_ssl: true
authorized_ca: []
which would allow greater flexibility.
I'm sorry if there is already a work-around I'm not aware of.
Beta Was this translation helpful? Give feedback.
All reactions