Git Product home page Git Product logo

Comments (4)

infinityofspace avatar infinityofspace commented on May 26, 2024

Can you please specify the exact command of certbot and the versions of certbot and certbot_dns_duckdns you used. Make sure to anonymize the DuckDNS token and your DuckDNS subdomain.
Because the domain structure is important for troubleshooting in this case, you should keep the domain structure when anonymizing. As an example of the preservation of the domain structure would be: Your real domain test1.test2.cloud.infinityofspace.duckdns.org should become sub1.sub2.sub3.example.duckdns.org.

The error means that the domain you specified does not match the two pattern example.duckdns.org or *.example.duckdns.org. Are you maybe trying to create a certificat for the subsubdomain like test.example.duckdns.org?
Unfortunately, support for additional subsubdomains (eg. test.example.duckdns.org) is not implemented.
The support for the arbitrary number of additional subsubdomains of the DuckDNS subdomain should be added for the next release v0.5.

from certbot_dns_duckdns.

durnezj avatar durnezj commented on May 26, 2024

Thank for the fast reply!
I've had some time today to dig into the code and was able to fix my issue.
My subdomains on duckdns are constructed like servername-location.duckdns.org.
However, the assert VALID_DUCKDNS_DOMAIN_REGEX.match(domain) in client.py caused the certifcate generation to fail because the regex string does not allow hyphens, while this is an allowed character in URLs.
I've proposed a change in a PR, that fixed the issue for my configuration. I made the PR to inform you about how my problem has been solved, please take a look at it and if you approve it as a general and acceptable solution, you can merge it.

from certbot_dns_duckdns.

infinityofspace avatar infinityofspace commented on May 26, 2024

Thanks for your troubleshooting effort, I'll take a look at your PR.

from certbot_dns_duckdns.

infinityofspace avatar infinityofspace commented on May 26, 2024

closed with #11

from certbot_dns_duckdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.