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

    NODE_TLS_REJECT_UNAUTHORIZED

    Scheduled Pinned Locked Moved Raspberry Pi
    6 Posts 2 Posters 6.9k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              hogkite @Russ
              last edited by

              @Russ Great stuff, thanks 👍

              RussR 1 Reply Last reply Reply Quote 0
              • RussR Offline
                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

                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
                • First post
                  Last post