• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

NODE_TLS_REJECT_UNAUTHORIZED

Raspberry Pi
2
6
4.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    hogkite
    last edited by hogkite Dec 18, 2022, 10:20 AM Dec 18, 2022, 10:19 AM

    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

    R 1 Reply Last reply Dec 18, 2022, 3:27 PM Reply Quote 0
    • R
      Russ @hogkite
      last edited by Dec 18, 2022, 3:27 PM

      @hogkite, that warning is normal but I'll remove it in the next version of the agent.

      Russell VanderMey

      H 1 Reply Last reply Dec 18, 2022, 3:41 PM Reply Quote 0
      • H
        hogkite @Russ
        last edited by Dec 18, 2022, 3:41 PM

        @Russ Thanks Russ......is certificate verification disabled or is this an erroneous message?

        R 1 Reply Last reply Dec 18, 2022, 3:54 PM Reply Quote 0
        • R
          Russ @hogkite
          last edited by Russ Dec 18, 2022, 5:27 PM Dec 18, 2022, 3:54 PM

          @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.

          Russell VanderMey

          H 1 Reply Last reply Dec 18, 2022, 6:06 PM Reply Quote 0
          • H
            hogkite @Russ
            last edited by Dec 18, 2022, 6:06 PM

            @Russ Great stuff, thanks 👍

            R 1 Reply Last reply Dec 18, 2022, 7:05 PM Reply Quote 0
            • R
              Russ @hogkite
              last edited by Dec 18, 2022, 7:05 PM

              @hogkite, you're welcome.

              I just updated the Mac agent too.

              Russell VanderMey

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post