Renew certificates

Please can someone help me? I wrote a code for renewing my certificates, in the ubuntu server, using the same command the last time.

I received it is the message: DRY RUN: simulating 'certbot renew' close to cert expiry

My domain is: cafedebug.com.br

I ran this command: certbot renew --cert-name cafedebug.com.br --dry-run

It produced this output: "new certificate deployed without reload fullchain is /etc/letsencrypt/live/mydomain/fullchain.pem"
"DRY RUN: simulating 'certbot renew' close to cert expiry (the test certificates below have no been saved)

1 Like

--dry-run is used to test whether your certificate renewal would succeed, but it doesn't actually renew your certificate.

If you get rid of --dry-run, your certificate will get renewed for real (if it's close to expiring).

5 Likes

How I can write a command for renewing? I remember the last time I wrote its way, but I guess lack something

1 Like

The command you wrote is fine, just cut out the --dry-run:

certbot renew --cert-name cafedebug.com.br

By the way, most methods of installing Certbot, set up a scheduled task which will automatically renew your certificates at the required time. Usually, you will not need to run this command manually.

4 Likes

Thanks my friend! Done!

I will write the command here, for don't forget. Thank so much

3 Likes

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