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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login