Subdomain renew successful but not showing browser

Renewed useing below command.
udo certbot certonly --webroot -w /var/www/ -d -d -d

Verifies also using below command.
sudo certbot certificates

Output of verification is as below.

Certificate Name:
Expiry Date: 2021-02-03 08:12:20+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/
Private Key Path: /etc/letsencrypt/live/

But still in browser showing older date 11th november.

Server Ubuintu, apache


Hi @krishnaisdinesh

certonly doesn't restart your webserver.

Did you restart your server? That's required to use the new certificate.


I'm assuming that the missing s in sudo and the inclusion of -d were oversights. Let's Encrypt currently does not certify URLs. I'm not sure why you would need to certify, but that's up to you.

If JuergenAuer's theory is correct (and I believe it is), you can use the following certbot command to have certbot automatically restart your webserver when your certificate is updated:

sudo certbot certonly --webroot -w /var/www/ -d "," --deploy-hook "sudo systemctl restart apache2"

Updating your certificate with the command above will also update your renewal configuration to make your automated renewals function correctly:

sudo certbot renew


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