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. https://crt.sh/?q=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:regener8.cf
I ran this command:
certbot (manually stepping through the options)
It produced this output:
Cert is due for renewal, auto-renewingâŚ
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for nextcloud.regener8.cf
Waiting for verificationâŚ
Cleaning up challenges
Failed authorization procedure. nextcloud.regener8.cf (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://nextcloud.regener8.cf/.well-known/acme-challenge/JAoEqsahe1ZTfy3YXuXMXXSc4N7KA8_0K9Zr5FyoIHo [5.80.140.233]: â\n\n404 Not Found\n\n
Not Found
\n<pâ
My web server is (include version):
Apache/2.4.18 (Ubuntu)
The operating system my web server runs on is (include version):
Ubuntu 16.04.5 LTS
My hosting provider, if applicable, is:
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):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if youâre using Certbot):
There is a CNAME entry nextcloud -> your duckdns.org ip address. Is this ip the ip your certbot is running?
Your certbot is very old. Perhaps you have used tls-sni-01 validation (port 443), that's not longer supported. So it may be the first time you use http-01 validation.
So Certbot creates a file in YourWebRoot/.well-known/acme-challenge with a random file name, Letsencrypt checks that file via port 80.
Visible Content: Not Found The requested URL /.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de was not found on this server. Apache/2.4.18 (Ubuntu) Server at nextcloud.regener8.cf Port 80
Port 80 is open, checking a not existing file there is the expected result http status 404 - Not Found.
So try to find your DocumentRoot of your
Server: Apache/2.4.18 (Ubuntu)
then use it:
certbot run -a webroot -i apache -w yourDocumentRoot -d nextcloud.regener8.cf
If that doesn't work. First step - update your certbot.
I ran:
certbot run -a webroot -i apache -w /var/www/html -d nextcloud.regener8.cf
I get the following:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer apache
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Cert is due for renewal, auto-renewingâŚ
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for nextcloud.regener8.cf
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verificationâŚ
Cleaning up challenges
Failed authorization procedure. nextcloud.regener8.cf (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://nextcloud.regener8.cf/.well-known/acme-challenge/XTd4FpmXlgm4rYIIc5wqfYFBTS0JOTlZwMh9LY5cAyM [5.80.140.233]: â\n\n404 Not Found\n\n
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.