Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    ACME with bind: Invalid Signature

    Scheduled Pinned Locked Moved ACME
    14 Posts 3 Posters 1.4k Views
    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
      hbauer
      last edited by

      I tried to follow the pfsense hangout for configuring pfsense with letsencrypt. But despite verifying my configuration numerous time I dont find my error.

      This is my configuration (names and keys are dummy but correct):

      On my BIND Server I have run

      dnssec-keygen -a HMAC-MD5 -b 512 -n HOST internal-net
      

      My Bind Konfiguration is small and like this.

      key "internal-net" {
       algorithm HMAC-MD5;
       secret "longscretekey........";
      };
      
      zone "internal.net." {
         type master;
         file "/etc/bind/zones/db.internal.net";
         update-policy           {
                  grant internal-net  name _acme-challenge.pfsense.internal.net. txt;
          };
      };
      

      On my pfsense I create an account and then a certificate

      pfsense-letsencrypt.png

      This is the error I see in the bind server

      request has invalid signature: TSIG _acme-challenge.pfsense.internal.net: tsig verify failure (BADKEY)
      

      Any ideas?

      D GertjanG 2 Replies Last reply Reply Quote 0
      • D
        dennysmatthew1 @hbauer
        last edited by

        @hbauer you should try sslforfree.com, cuz they are use lets encrypt and you can download the certificate and upload to your pfsense router...

        sorry for my bad english :)

        1 Reply Last reply Reply Quote 0
        • H
          hbauer
          last edited by

          I found my error. With this configuration you have to add "internal-net" to the optional "key name"

          1 Reply Last reply Reply Quote 0
          • D
            dennysmatthew1
            last edited by

            i think you must enable your port forwarding before doing it

            H 1 Reply Last reply Reply Quote 0
            • H
              hbauer @dennysmatthew1
              last edited by

              @dennysmatthew1 said in ACME with bind: Invalid Signature:

              i think you must enable your port forwarding before doing it

              no. not needed

              1 Reply Last reply Reply Quote 0
              • D
                dennysmatthew1
                last edited by

                but i did it not in pfsense its in mikrotik...Capture.PNG

                1 Reply Last reply Reply Quote 0
                • D
                  dennysmatthew1
                  last edited by

                  i expose my localhost, use ngrok localhost exposer and i have a web site and then use the sslforfree.com solution

                  1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @hbauer
                    last edited by

                    @hbauer said in ACME with bind: Invalid Signature:

                    dont find my error

                    I did.
                    It's here :

                    be4a1e99-ced4-4905-8037-a89f430d5b28-image.png

                    So is your key name (used by bind) :
                    _acme-challenge.pfsense.internal.net.
                    ?
                    If so, nothing to do ...
                    If not, well, error.

                    @dennysmatthew1 said in ACME with bind: Invalid Signature:

                    @hbauer you should try sslforfree.com, cuz they are use lets encrypt and you can download the certificate and upload to your pfsense router...
                    sorry for my bad english :)

                    Why ?
                    @hbauer has a domain name (although not internal.net ;) ) - and pfSense with the acme package. Thus a "real set it and forget it" situation.

                    @dennysmatthew1 said in ACME with bind: Invalid Signature:

                    i think you must enable your port forwarding before doing it

                    Why ?
                    The bind server @hbauer is using is probably somewhere on the Internet, not behind its pfSense server.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    1 Reply Last reply Reply Quote 0
                    • D
                      dennysmatthew1
                      last edited by

                      i'm sorry i still newbie, i can tell what i can do...

                      maybe another people can answer the @hbauer question...

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @dennysmatthew1
                        last edited by

                        @dennysmatthew1 said in ACME with bind: Invalid Signature:

                        i'm sorry i still newbie, i can tell what i can do...
                        maybe another people can answer the @hbauer question...

                        Don't tell : start reading first ☺ and you will find out that he already found the solution.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        D 1 Reply Last reply Reply Quote 1
                        • D
                          dennysmatthew1 @Gertjan
                          last edited by

                          @Gertjan i think you right...

                          1 Reply Last reply Reply Quote 0
                          • D
                            dennysmatthew1
                            last edited by

                            i have a question, how to make a captive portal in a newer pfsense os? plz someone answer... ☺

                            1 Reply Last reply Reply Quote 0
                            • GertjanG
                              Gertjan
                              last edited by

                              That's not a Home > pfSense Packages > ACME related question.
                              Check here for question and many (more !) answers.

                              And the manual.

                              And the movies.

                              No "help me" PM's please. Use the forum, the community will thank you.
                              Edit : and where are the logs ??

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                dennysmatthew1 @Gertjan
                                last edited by

                                @Gertjan thanks, very appriciated...

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.