Certbot installed, how will I get new domains certified?

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: www.eweblets.com

I ran this command:
$ sudo snap install --classic certbot
$ sudo ln -s /snap/bin/certbot /usr/bin/certbot
$ sudo certbot --nginx
$ sudo certbot renew --dry-run

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/www.eweblets.com.conf


Account registered.
Simulating renewal of an existing certificate for www.eweblets.com


Congratulations, all simulated renewals succeeded:
/etc/letsencrypt/live/www.eweblets.com/fullchain.pem (success)


My web server is (include version): NGINX 1.24.0

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

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

I just installed certbot a few hours ago and it works perfectly well. I followed the Ubuntu instructions at Certbot Instructions | Certbot

My question: If I add new sites at a later time, do I need to execute the following again or are there special instructions on how new domains are added? I did not find this info in the FAQ or online. Thank you.

$ sudo certbot --nginx

1 Like

Hello @luz, welcome to the Let's Encrypt community. :slightly_smiling_face:

Here are some additional documentation links for Certbot

  1. Welcome to the Certbot documentation! — Certbot 2.7.0.dev0 documentation
  2. User Guide — Certbot 2.6.0 documentation
  3. Resources — Certbot 2.6.0 documentation
2 Likes

There are multiple options:

  • just run the same command you've mentioned at the bottom of your post: Certbot will use your nginx configuration file(s) to search for all the possible hostnames and ask you for which hostname you want a certificate. There you could either just select the new hostname(s) for a new certificate or select all the hostnames so Certbot will extend the already existing certificate
  • use the --domain (or -d) option to manually select a domain name, as is explained in the user guide linked by Bruce above.
2 Likes

Osiris, thank you so much and to Bruce as well! Kindest regards, Luz.

3 Likes

Yes, each time a name is added [or removed] which requires a cert you must "teach" certbot about it.

5 Likes

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