Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: nextcloud.johanneswerner.me
I ran this command: sudo certbot --nginx
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): johanneswerner.me
Requesting a certificate for johanneswerner.meCertbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: johanneswerner.me
Type: dns
Detail: no valid A records found for johanneswerner.me; no valid AAAA records found for johanneswerner.me
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.Some challenges have failed.
My web server is (include version): nginx 1.14.2
The operating system my web server runs on is (include version): Debian 10.11
My hosting provider, if applicable, is: XXXXXXXX
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): uh sort of, my Nextcloud container was created with the linuxserver.io image and i manage that stuff using Portainer
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 1.25.0
I have put an A record to both nextcloud.johanneswerner.me and johanneswerner.me in the host records on the namecheap advanced DNS page. Not sure why certbot can't seem to find it, since both sites redirect fine. My 80 is open, I tried letsdebug, I waited a few hours to try again in case the DNS records weren't up to date. Unsure of what my problem is.