Closed qupfer closed 5 years ago
Hmm, the ideal solution here would be if it were possible to import custom certificates into James
for testing websites - I'll create a separate ticket for that (#410) (note that this project doesn't have a lot of maintainer time, so no guarantees of it being implemented soon).
In the short-term, you can work around this by disabling HTTPS certificate checks (which is very insecure!). You'll need to run James
from a command-prompt, and do the following:
export NODE_TLS_REJECT_UNAUTHORIZED=0
(on Windows, I think that this is SET NODE_TLS_REJECT_UNAUTHORIZED=0
)I hope this helps, but let me know if you have any issues :)
Looking into this further, it looks like you can provide the custom certificate to Node via environment variable, which is much better than ignoring rejected certificates.
export NODE_EXTRA_CA_CERTS=[your CA certificate file path]
Works great. Thanks
Hi, is there a easy way to disable the validation check? I have trouble to connect to a servie with a self signed certifcate and also toruble to connect to a server with a valid Let's encrypt certifcate (https://leipzig.07q.de/) (Just to be sure: I'm not speaking about the borwser warning)