AWS Apache cert renewal question


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., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: &

I ran this command:
sudo certbot renew --dry-run

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Processing /etc/letsencrypt/renewal/

Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for
http-01 challenge for
http-01 challenge for
http-01 challenge for
Waiting for verification…
Cleaning up challenges

new certificate deployed with reload of apache server; fullchain is

** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates below have not been saved.)
Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/ (success)
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates above have not been saved.)

My web server is (include version):
Apache/2.4.18 (Ubuntu)

The operating system my web server runs on is (include version):
Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-142-generic x86_64)

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

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

Now my question:
Does this mean my certificate will renew automatically via a cronjob tomorrow when it expires, or
do I need to run:
sudo certbot renew

The crontab includes:
0 */12 * * * root test -x /usr/bin/certbot -a ! -d /run/systemd/system && perl -e ‘sleep int(rand(43200))’ && certbot -q renew


Hi @b1ueskyz


Nobody knows your exact configuration. And there are sometimes very buggy configurations. So check your certificates Friday, then you will see if the renew had worked.


Pretty much a noobie-
A) How do I ‘check’ my certs?
B) If they have not renewed, do I: sudo certbot renew ?


Why do you think they expire tomorrow?

Now checked your domains via - there is no need to create new certificates:
	28.03.2019,,, - 4 entries

You can use your certificate this month.

Use your browser or an online tool.

Certbot start try to renew certificates if they are max. 30 days valide. So there is a lot of time.


Thanks for the help. I was referencing tomorrow because I confused my websites. I believe my expires tomorrow. But I will follow your guidance above and wait to see what happens. If not renewed by Friday, I’ll manually renew.


Uh? I see, you have checked this domain via

There is a very young certificate:
	09.04.2019, - 2 entries

Certbot may renew that 2019-03-09 or 10, not this Friday.


Sorry. I was going by emails I got from LetsEncrypt, I will now go by dates produced by [].

LetsEncrypt email:
Your certificate (or certificates) for the names listed below will expire in 10 days (on 07 Feb 19 12:46 +0000). Please make sure to renew your certificate before then, or visitors to your website will encounter errors.

We recommend renewing certificates automatically when they have a third of their
total lifetime left. For Let’s Encrypt’s current 90-day certificates, that means
renewing 30 days before expiration. See for details.


Please read the complete mail:

You have certificates with one and two domain names:;include_subdomains:false;

One with only ends 07.02.2019, this is correct.

But you don’t use this certificate, you use a certificate with two domain names. So you can ignore the mail:

If your certificate is already renewed, we won’t send an expiry notice. We consider a certificate to be renewed if there is a newer certificate with the exact same set of names, regardless of which account created it. If you’ve issued a new certificate that adds or removes a name relative to your old certificate, you will get expiration email about your old certificate. If you check the certificate currently running on your website, and it shows the correct date, no further action is needed.

You can use your browser or an online tool to check that.

If you see your webserver uses a new certificate -> ignore the mail.

Letsencrypt doesn’t know if you use the certificate with one or with two domain names. But if you have a certificate with two domain names, you don’t need one with one domain name.


Please also use certbot itself to show you your certs along with their expirations:
certbot certificates

closed #10

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