Hi All,
I’m new to nextcloud and relatively new to Linux. I have managed so far to build the server, and install. I set it up via Snap.
I’m having some issues with Nextcloud SSL Cetificates. This is the error i get:
**********:~$ sudo nextcloud.enable-https lets-encrypt
[sudo] password for ********:
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:https://letsencrypt.org/repository/
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): cloud.domain.com Attempting to obtain certificates… error running certbot:
Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.l og
Plugins selected: Authenticator nextcloud:webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for cloud.domain.com
Using the webroot path /var/snap/nextcloud/current/certs/certbot for all domains .
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. cloud.domain.com (http-01): urn:acme:error:d ns :: DNS problem: NXDOMAIN looking up A for cloud.domain.com
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: cloud.domain.com
Type: None
Detail: DNS problem: NXDOMAIN looking up A for cloud.domain.com
*********:~$