Lets Encrypt in Ralph (Ubuntu 18.04)

I'm trying to put Lets Encrypt on my Ubuntu 18.04 server with the Ralph application installed (https://ralph-ng.readthedocs.io/en/latest/installation/installation/)

In the file /etc/nginx/sites-available/default I put:

server_name cmdb.mydomain. com;

I use the command:
sudo certbot certonly -d cmdb.mydomain.com
But it gives me the following error:

Failed authorization procedure. cmdb.mydomain. com (http-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for cmdb.mydomain. com

I have also tried it by adding www.cmdb.mydomain. com and the result is the same.

Hi @juanpebalsa

to check that, we need your domain name. Or use a tool like https://check-your-website.server-daten.de/ or https://letsdebug.net/ to check your domain.

This is the answer to the test:
No issues were found with “mydomain.com”. If you are having problems with creating an SSL certificate, please visit the Let’s Encrypt Community forums and post a question there.

Now I see you have checked your domain with https://check-your-website.server-daten.de/

There is your error:

Name error - your domain isn’t defined.

If you want to use http-01 - validation, your domain name needs an A- or AAAA-record (ipv4 or ipv6) and a running webserver.

But you didn't request a cert for that FQDN.
Your command was for "CMDB":

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.