Further details at the bottom.
My domain is: catpictures.app.sky.test.nhn.no
I ran this command:
certbot --logs-dir /var/tmp/certbot --config-dir /var/tmp/certbot --work-dir /var/tmp/certbot certonly --manual --preferred-challenges dns --debug-challenges -d catpictures.app.sky.test.nhn.no --staging -v
It produced this output:
Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: catpictures.app.sky.test.nhn.no
Type: unauthorized
Detail: No TXT record found at _acme-challenge.catpictures.app.sky.test.nhn.no
My web server is (include version): N/A
The operating system my web server runs on is (include version): N/A
My hosting provider, if applicable, is: N/A
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 2.5.0
This domain is delegated from my "main" DNS-server to a GSLB-solution, where I have a CNAME-record for
_acme-challenge.catpictures.app.sky.test.nhn.no
back to my "main" DNS-servers at
catpictures.app.sky.test.nhn.no.acme.nhn.no
where I create the TXT-records
I've experienced similar issues using cert-manager in a kubernetes-cluster, where cert-manager seems to follow the CNAME-record just fine and even verify that the TXT-record is created before the challenge is submitted to LetsEncrypt (and fails) - Something is preventing LetsEncrypt from following the CNAME, it just gives up after trying the TXT-record it seems?