Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


install_letsencrypt_certbot_apache2_ubuntu_server_22_04

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
install_letsencrypt_certbot_apache2_ubuntu_server_22_04 [2023/06/22 15:19] wikiadmininstall_letsencrypt_certbot_apache2_ubuntu_server_22_04 [2023/06/22 15:29] wikiadmin
Line 255: Line 255:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 </code> </code>
 +
 +**Check the Auto-Renewal status, i.e. that Certbot has setup Auto-Renewal of the Certificate**
 +
 +<code>
 +sudo systemctl status certbot.timer
 +● certbot.timer - Run certbot twice daily
 +     Loaded: loaded (/lib/systemd/system/certbot.timer; enabled; vendor preset: enabled)
 +     Active: active (waiting) since Thu 2023-06-22 15:02:09 UTC; 18min ago
 +    Trigger: Thu 2023-06-22 23:58:49 UTC; 8h left
 +   Triggers: ● certbot.service
 +
 +Jun 22 15:02:09 svr1 systemd[1]: Started Run certbot twice daily.
 +</code>
 +
 +**Revoking LetsEncrypt Certificates**
 +
 +
 +If you wish to remove a certificate from your server it can be revoked using a subcommand with Let’s Encrypt client. The command below can be used to revoke a particular certificate.
 +
 +<code>
 +$ sudo certbot revoke --cert-path /etc/letsencrypt/live/your-domain.com/cert.pem
 +</code>
 +
 +Note: Replace your-domain.com with the domain which certificate you wish to revoke.
 +
 +The process does not give a confirmation upon completion, but if you perform it again you will get a message that the certificate has already been revoked.
 +
install_letsencrypt_certbot_apache2_ubuntu_server_22_04.txt · Last modified: 2023/06/22 15:48 by wikiadmin