Certbot can't secure my domain

My domain is:

lukemccartney.com
www.lukemccartney.com

I ran this command:

sudo certbot --nginx -d lukemccartney.com -d www.lukemccartney.com

It produced this output:

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.
root@lukemccartney:~# vim /var/log/letsencrypt/letsencrypt.log

My web server is (include version):

  • nginx version: nginx/1.24.0 (Ubuntu)

The operating system my web server runs on is (include version):

  • macOS Sonoma

My hosting provider, if applicable, is:

  • DigitalOcean, though I may move to AWS after this.

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):

  • I have a GitHub repo set up that doesn't seem to work.

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 2.1.0

The strangest part is that the subdomain https://film.lukemccartney.com works perfectly fine.

Please provide the entire output of the Certbot command. Currently the output doesn't actually say anything meaningful.

Also:

If your nginx is running on Ubuntu, how does macOS come into play? Is that simply your own computer you're working on or do you actually have a DigitalOcean server running macOS running Ubuntu inside some virtual machine? :slight_smile:

Also № 2:

What do you mean by "GitHub repo set up" when talking about control panels to manage your website lukemccartney.com?

3 Likes

In addition to questions by @osiris, can you also explain what you mean by "works perfectly"?

Because there is no A or AAAA record in the public DNS system for that name so connecting from the public internet isn't possible using that domain name.

3 Likes

Okay,

I see the error now, I'll add the A and/or AAAA records to my registrars documents and that should sort things out slightly (hopefully).

Thanks,

Luke

2 Likes

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