Closed brainfish closed 1 year ago
Thanks for reporting this issue. The last major update had its web server replaced with Kestrel and by default its only serving known file types. Will get this fixed in the upcoming update.
There is no workaround to make this work. You can though use DNS challenge if that is possible. Take a look at this blog post which explains how to configure DNS challenge with certbot.
There is one mitigation that can be done to allow HTTP challenge meanwhile this issue is fixed. You can setup a reverse proxy like nginx and add the following config to make it work.
location ^~ /.well-known/acme-challenge/ {
allow all;
root /opt/technitium/dns/dohwww/;
default_type "text/plain";
try_files $uri =404;
}
Technitium DNS Server v11.1 is now available that fixes this issue. Do update and let me know your feedback.
I am trying to setup technetium using docker on ubuntu. DNS-over-HTTP is enabled however when I try to run
certbot certonly
it fails due to 404 on the acme-challenge. Example output:I have tried putting a couple of test files in
/opt/technitium/dns/dohwww/.well-known/acme-challenge
and it appears it's a filename issue; I can loadhttp://REDACTED/.well-known/acme-challenge/test.html
in the browser, howeverhttp://REDACTED/.well-known/acme-challenge/test2
responds with a 404. Usingwatch ls
in that directory, I can see certbot putting the challenge file there with appropriate contents.How can I configure technetium to serve all files from this directory, instead of requiring an (e.g.)
.html
extension?