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
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:48] (current) wikiadmin
Line 2: Line 2:
  
 If you have Certbot installed and it is not being detected, then purge it. If you have Certbot installed and it is not being detected, then purge it.
 +
 +Go Here to: [[remove_letsencrypt_certbot_re_install|Remove LetsEncrypt Certbot in Order to Properly Re-Install Certbot]]
  
 Reinstalling Certbot properly. Reinstalling Certbot properly.
Line 255: Line 257:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 </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.1687447192.txt.gz · Last modified: 2023/06/22 15:19 by wikiadmin