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

    NODE_TLS_REJECT_UNAUTHORIZED

    Raspberry Pi
    2
    6
    3.8k
    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

      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

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @hogkite
        last edited by

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

        Russell VanderMey

        H 1 Reply Last reply Reply Quote 0
        • H
          hogkite @Russ
          last edited by

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

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @hogkite
            last edited by Russ

            @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 Reply Quote 0
            • H
              hogkite @Russ
              last edited by

              @Russ Great stuff, thanks 👍

              RussR 1 Reply Last reply Reply Quote 0
              • RussR
                Russ @hogkite
                last edited by

                @hogkite, you're welcome.

                I just updated the Mac agent too.

                Russell VanderMey

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post