NODE_TLS_REJECT_UNAUTHORIZED
-
Just starting out on Triggercmd and although I've got everything up and running I did get this error during the install....
(node:10413) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
Is this a known problem and is there a fix for this please?
Thx
-
@hogkite, that warning is normal but I'll remove it in the next version of the agent.
-
@Russ Thanks Russ......is certificate verification disabled or is this an erroneous message?
-
@hogkite, it is disabled.
I just made this commit, so the next version will verify the server's cert chains up to a root cert.
https://github.com/rvmey/TRIGGERcmd-Agent/commit/98143d487ef3a0fe9edde51d1a34c91e044af29a
Thanks for pointing this out. This setting is no longer necessary.
EDIT: I updated the Windows agent just now.
-
@Russ Great stuff, thanks
-
@hogkite, you're welcome.
I just updated the Mac agent too.