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

    acme when dns provider does not allow dns challenge

    Scheduled Pinned Locked Moved ACME
    44 Posts 4 Posters 8.9k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      Yeah the only thing is your tld has to support it.. Not the registrar's problem if the tld does not have it - and there are many out there that do not still.

      It has gotten way better
      http://stats.research.icann.org/dns/tld_report/
      1517 TLDs in the root zone in total
      1388 TLDs are signed;
      1378 TLDs have trust anchors published as DS records in the root zone;

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      tn1rpi3T 1 Reply Last reply Reply Quote 0
      • JeGrJ
        JeGr LAYER 8 Moderator @tn1rpi3
        last edited by

        @tn1rpi3 said in acme when dns provider does not allow dns challenge:

        I don't see any of these in my Cloudflare account though. Could you provide some Cloudflare wisdom, plz?

        Cloudflare doesn't create an API key with your account, you have to do that for yourself. Click on your profile symbol/pic in the upper right corner of your CF Dashboard. Got to "my profile". Then access the API Tokens Tab. There check for or create the Global API Key. That's the one you need for the acme package with dns_cf mode. Works like a charme.

        Don't forget to upvote πŸ‘ those who kindly offered their time and brainpower to help you!

        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

        tn1rpi3T 1 Reply Last reply Reply Quote 1
        • tn1rpi3T
          tn1rpi3 @johnpoz
          last edited by

          @johnpoz valid point. We're talking about a .com address here.

          1 Reply Last reply Reply Quote 0
          • tn1rpi3T
            tn1rpi3 @JeGr
            last edited by

            @JeGr thanks for the pointer!

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              Well .com has been dnssec for a long time ;) And every accredited registrar is required to provide the support to do dnssec.. So yeah you should be able to use any registrar - yet that is not the case for sure.. And while some say they support it - you can not get it to work ;)

              You shouldn't have any issues with cloudflare..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              tn1rpi3T 1 Reply Last reply Reply Quote 0
              • tn1rpi3T
                tn1rpi3 @johnpoz
                last edited by

                @johnpoz I've requested a DS record at my current registrar and sent them the data Cloudflare has provided me with: It goes like
                "example.com. IN DS 62910 7 1 1D6AC75083F3CEC31861993E325E0EEC7E97D1DD"
                While my provider says they've done what's necessary, a website check produces the following error: Fatal error: DNSKEY 2371 signs DNSKEY RRset, but no confirming DS RR in the parent zone found. No chain of trust created.
                Did I overlook something here or is the ball back in the registar's court?

                If the latter is the case, I'll initiate a domain transfer and do everything within Cloudflare. - The whole affair is taking way too long..

                GertjanG 2 Replies Last reply Reply Quote 0
                • GertjanG
                  Gertjan @tn1rpi3
                  last edited by

                  @tn1rpi3 said in acme when dns provider does not allow dns challenge:

                  Did I overlook something here or is the ball back in the registar's court?

                  Looks like that's the case.
                  Use https://dnsviz.net/d/12bfree.com/dnssec/ - it's far more 'visual'..

                  Most registrars these days use GUI's so "you can help yourself" - or better : APIed everything.

                  f29db649-4edd-4433-b845-4c4c73f0a6f1-image.png

                  The registrar will then your domain settings - most often fully automated.

                  While your at it, check you IPV6 glue.

                  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
                  • tn1rpi3T
                    tn1rpi3
                    last edited by

                    @Gertjan said in acme when dns provider does not allow dns challenge:

                    • Looks like that's the case.

                    I'm sorry, I don't understand.
                    There's no GUI at my registar's page. All I can do is send them the DS record data, which I did.

                    I'm trying to figure out if the registar made a mistake impementing the DS record, or if somethings missing on my side.

                    tn1rpi3T 1 Reply Last reply Reply Quote 0
                    • tn1rpi3T
                      tn1rpi3 @tn1rpi3
                      last edited by

                      @tn1rpi3 To me it looks like the registar made a mistake implementing the DS record:
                      https://dnssec-analyzer.verisignlabs.com/12bfree.com
                      says something similar: "None of the 2 DNSKEY records could be validated by any of the 1 DS records"

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

                        @tn1rpi3 said in acme when dns provider does not allow dns challenge:

                        Did I overlook something here or is the ball back in the registar's court?

                        My answer :

                        @Gertjan said in acme when dns provider does not allow dns challenge:

                        Looks like that's the case.

                        Valid for both answers, because I don't know what you overlooked (to hand over to the registrar) - it it most probably boils down to : it's up to the registrar to put your DS in place ....

                        Btw : how you hand this over ? By mail ? Seems rather dangerous to me.
                        If some one impersonates you nu y mail, your domain will disappear from the net.

                        Btw : DS operation do take time.

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

                        tn1rpi3T 1 Reply Last reply Reply Quote 0
                        • tn1rpi3T
                          tn1rpi3 @Gertjan
                          last edited by

                          @Gertjan Thanks. I got it. -
                          I handed it over while logged in to their website (created a ticket) two days ago.

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by johnpoz

                            Ok - I just enabled dnssec on one of my domains I have pointed to cloudflare from namecheap... It took less than 2 minutes to setup.. And is working now and showing valid

                            dnssec.png

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            tn1rpi3T 2 Replies Last reply Reply Quote 1
                            • tn1rpi3T
                              tn1rpi3 @johnpoz
                              last edited by

                              @johnpoz I realize I've been trying this the hard way, relying on my current registrar. - I think I'll finally transfer the domain to Cloudflare. This limbo situation must end..

                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator
                                last edited by johnpoz

                                I know it sucks - but not all registrars are created equal that is for sure...

                                Have no issues with dnssec with namecheap or dynadot.. Namecheap was late to the table to even support it, but currently it seems to work real easy with simple to use gui..

                                I don't have anything with cloudflare as a registrar - but do have some domains pointing there.. And as you can see works real easy.. Now the domain I use for my plex is dnssec signed ;) hehehe

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                  @tn1rpi3 :

                                  Where did this one came from :

                                  root@ns311465:~# whois 12bfree.com | grep 'DNSSEC'
                                     DNSSEC: signedDelegation
                                     DNSSEC DS Data: 60191 13 2 307DC191192735F5DF76FE364F6F6C1F18B108C43835315A74E450D64E4106A1
                                  

                                  Never ever delete - on your local domain name server - references to this '60191' DS.
                                  Rotating KSK keys is a real sport.

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

                                  tn1rpi3T 1 Reply Last reply Reply Quote 1
                                  • tn1rpi3T
                                    tn1rpi3 @Gertjan
                                    last edited by

                                    @Gertjan My best guess is that this is old data from before I transferred to Cloudflare. When I rechecked today (yes, the registrar was sluggish once again) the grep on whois finall returned the correct DS entry. -- On the other hand the certificate renewal still fails when the process arrives at the subdomain *.12bfree.com returning "invalid domain". Under SERVICES/ACME Certificates I entered *.12bfree.com for 'Domainname' - anything wrong with that, perhaps? BTW: a dig on e.g. lime.12bfree.com is successful and returns an IP from the Cloudflare realm.

                                    1 Reply Last reply Reply Quote 0
                                    • tn1rpi3T
                                      tn1rpi3 @johnpoz
                                      last edited by

                                      @johnpoz I was one small step away from transferring to Cloudflare as a registrar when World4You finally came up with a working config today (as usual taking their time to do so). - I fully agree on your impressions on Cloudflare. They've got a clean interface, their online documentation is flawless and their basic subscription is free of charge.

                                      1 Reply Last reply Reply Quote 0
                                      • tn1rpi3T
                                        tn1rpi3 @johnpoz
                                        last edited by

                                        @johnpoz DNS SEC is working alright now. Interestingly, ACME Certificate renewal is not. The job finishes with an error saying 'domain not found'.
                                        On a closer look parent-DS with algorithm 13 produces a valid chain of trust, but for 'TXT-entries' the check-up says 'perhaps wrong' for '_acme-challenge.12bfree.com.12bfree.com' and '_acme-challenge.www.12bfree.com.12bfree.com' (see screenshot)
                                        a41ba1b4-a569-424e-be1a-5e318fa8daba-grafik.png
                                        ACME Certificates with Cloudflare does not allow for TXT entries to be used for ownership validation. It uses account ID, key + token.
                                        I'm out of ideas..
                                        BTW: For check-up I used https://check-your-website.server-daten.de/?q=12bfree.com this time.

                                        1 Reply Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by

                                          well that sure doesn't look correct... the _acme-challenge fqdn would be _acme-challenge.domain.tld.. you seem to have _acme-challenge.domain.tld.domain.tld and www.domain.tld.www.domain.tld not sure why you think those would work?

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                                          tn1rpi3T 1 Reply Last reply Reply Quote 0
                                          • tn1rpi3T
                                            tn1rpi3 @johnpoz
                                            last edited by

                                            @johnpoz I fully agree; My API entries for domainname are 12bfree.com and *.12bfree.com
                                            I don't see how the doubling could take place, unless I can't see the wood for all the trees..

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