Comments (4)
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.
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.
Thanks for your troubleshooting effort, I'll take a look at your PR.
from certbot_dns_duckdns.
closed with #11
from certbot_dns_duckdns.
Related Issues (20)
- Relax `requests` version requirement to avoid crashing Certbot snap HOT 1
- certbot_dns_duckdns docker v0.5 crashs at start up while v0.4 works HOT 14
- unrecognized command argument certbot HOT 6
- CNAME of duckdns domain fails to validate regex HOT 7
- GUIDENS wanted HOT 2
- Complex crontab renewal
- Support credentials file HOT 1
- Use this extension with nginx HOT 3
- Renew by service always failed HOT 1
- Add a snap build of the plugin
- certbot-dns-duckdns is not available for arm64? HOT 4
- Retain TXT record after DNS-01 challenge HOT 4
- Undeclared dependency on dnspython HOT 1
- setup.py: Undeclared dependency on dnspython / setup.py and requirements.txt are out of sync HOT 1
- Does requests 2.27 also suffice? HOT 3
- Missing arm v6 and v7 docker images for v0.8 release HOT 1
- Add more information about the usage of the docker image
- Autorenew does not work with docker image
- Add support for using multiple DuckDNS domains simultaneously HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from certbot_dns_duckdns.