Nextcloud version (eg, 20.0.5): 23.0
Operating system and version (eg, Ubuntu 20.04): 20.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 7.4): php 7.4
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Trying to install let’s encrypt certificate from the cli keep getting the errors I posted.
Hello I am having some issues getting lets encrypt to work right with my server that i created. This is some of the output that i was able to obtain.
root@server-HP-Z600-Workstation:~# sudo nextcloud.enable-https lets-encrypt
In order for Let’s Encrypt to verify that you actually own the
domain(s) for which you’re requesting a certificate, there are a
number of requirements of which you need to be aware:
-
In order to register with the Let’s Encrypt ACME server, you must
agree to the currently-in-effect Subscriber Agreement located
here:By continuing to use this tool you agree to these terms. Please
cancel now if otherwise. -
You must have the domain name(s) for which you want certificates
pointing at the external IP address of this machine. -
Both ports 80 and 443 on the external IP address of this machine
must point to this machine (e.g. port forwarding might need to be
setup on your router).
Have you met these requirements? (y/n) y
Please enter an email address (for urgent notices or key recovery):
Please enter your domain name(s) (space-separated): bnorman93nexclouddnsnet
Attempting to obtain certificates… error running certbot:
Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for bnorman93.nexclouddns.net
Using the webroot path /var/snap/nextcloud/current/certs/certbot for all unmatched domains.
Waiting for verification…
Challenge failed for domain bnorman93nexclouddnsnet
http-01 challenge for bnorman93nexclouddnsnet
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: bnorman93.nexclouddns.net
Type: None
Detail: DNS problem: NXDOMAIN looking up A for
bnorman93.nexclouddns.net - check that a DNS record exists for this
domain; DNS problem: NXDOMAIN looking up AAAA for
bnorman93.nexclouddns.net - check that a DNS record exists for this
domain