Hi everyone.
This is the first time that i'm having issues with let's encrypt.
I've used this to tutorial to install moodle and certbot.
That went down great and I was actually able to retrieve the first certificate correctly.
Now I can't.
My domain is: lms.kairosmining.com
I ran this command: certbot certonly -v -d lms.kairosmining.com
It produced this output: root@SSVMLMS01:~# certbot certonly -v -d lms.kairosmining.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
1: Nginx Web Server plugin (nginx)
2: Runs an HTTP server locally which serves the necessary validation files under
the /.well-known/acme-challenge/ request path. Suitable if there is no HTTP
server already running. HTTP challenge only (wildcards not supported).
(standalone)
3: Saves the necessary validation files to a .well-known/acme-challenge/
directory within the nominated webroot path. A seperate HTTP server must be
running and serving files from the webroot path. HTTP challenge only (wildcards
not supported). (webroot)
Select the appropriate number [1-3] then [enter] (press 'c' to cancel): 1
Plugins selected: Authenticator nginx, Installer nginx
Certificate is due for renewal, auto-renewing...
Renewing an existing certificate for lms.kairosmining.com
Performing the following challenges:
http-01 challenge for lms.kairosmining.com
Waiting for verification...
Challenge failed for domain lms.kairosmining.com
http-01 challenge for lms.kairosmining.com
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: lms.kairosmining.com
Type: connection
Detail: 200.75.4.214: Fetching http://lms.kairosmining.com/.well-known/acme-challenge/HNW7SfwOEyo-7oInnhMN_mjt9Fg8Faiuhg016a_jlIo: Error getting validation data
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.
Cleaning up challenges
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): nginx/1.24.0
The operating system my web server runs on is (include version): Ubuntu 22.04.3 LTS
My hosting provider, if applicable, is: selfhosted
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.7.4
Any help would be great.
Thanks.