Tutorials/Tips

How to revoke a Let’s Encrypt certificate

Let’s Encrypt is a free, automated, and open certificate authority (CA) that issues free digital certificates, enabling users to configure their websites to use HTTPS (SSL/TLS). Though the process of generating and installing a Let’s Encrypt certificate is simple and can even be automated, mistakes do happen, and you may sometimes want to revoke a certificate.

This short post shows how to take that action, when the occasion calls for it.

To revoke a certificate, assuming you’re using certbot, the official client program, you’ll issue the following command:

That just makes the certificate invalid, but it’s still installed on your system. Now you just need to delete it. To delete a certificate, you first need to find out the name of the certificate to delete. The commands to do both – finding the name of the certificate and deleting it, and their associated outputs, are given in the following code block:

Related Post:  Make GRUB the default Boot Manager on an HP 250 G5

With that, the certificate is not only revoked, but also deleted from the system. You can now generate and install another certificate using the same domain name and not encounter an error. You may find out more about the Let’s Encrypt service by visiting the project’s home page.

Related Post:  Solution to freezing SSH sessions on Ubuntu 16.10

Let's Encrypt free SSL certificates

Subscribe to LinuxBSDos.com

Subscribe to receive the latest articles in your Inbox

Trust me, you'll not be spammed...

Please share:

We Recommend These Vendors and Free Offers

Register now for Blockchain & Cryptocurrency Con 2018, international conference on blockchain technnology in Dallas, TX (USA), Feb. 23-24, 2018. Students can register at a 50% discount.

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

Your email address will not be published. Required fields are marked *

*