# How to remove Certbot certification completely?

**URL:** <https://community.letsencrypt.org/t/how-to-remove-certbot-certification-completely/160675>\
**Category:** Help\
**Created:** [September 28, 2021, 2:32pm UTC](https://community.letsencrypt.org/t/how-to-remove-certbot-certification-completely/160675 "2021-09-28T14:32:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hack3rcon](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@Hack3rcon](https://community.letsencrypt.org/u/Hack3rcon)\
**Post date:** [September 28, 2021, 2:32pm UTC](https://community.letsencrypt.org/t/how-to-remove-certbot-certification-completely/160675/1 "2021-09-28T14:32:53Z")

</div>

Hello,  
I did:

```nohighlight
# certbot delete --cert-name example.com
```

But, the lines that certbot added to my Virtual Host configuration files not removed!

Thank you.

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [September 28, 2021, 3:44pm UTC](https://community.letsencrypt.org/t/how-to-remove-certbot-certification-completely/160675/2 "2021-09-28T15:44:33Z")

</div>

> [@Hack3rcon](#):
>
> (…) the lines that certbot added to my Virtual Host configuration files not removed!

Correct, that feature (currently?) is not present in certbot. It has no way of reverting changes it made to the webserver configuration. This is also documented in the certbot documentation: [User Guide — Certbot 2.7.0.dev0 documentation](https://certbot.eff.org/docs/using.html#safely-deleting-certificates)

There was an idea to include automatic detection if a cert was still in use, so the user could be warned, but this was [not deemed feasible](https://github.com/certbot/certbot/pull/8909). Currently, the [improvement in development](https://github.com/certbot/certbot/issues/6734) is to warn users, but thats it.

It's probably unlikely that any webserver configuration "reverting" feature will be developed any time soon.

---

<div class="post-metadata">

**Author:** ![Hack3rcon](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@Hack3rcon](https://community.letsencrypt.org/u/Hack3rcon)\
**Post date:** [September 30, 2021, 6:49pm UTC](https://community.letsencrypt.org/t/how-to-remove-certbot-certification-completely/160675/3 "2021-09-30T18:49:44Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [October 30, 2021, 6:50pm UTC](https://community.letsencrypt.org/t/how-to-remove-certbot-certification-completely/160675/4 "2021-10-30T18:50:08Z")

</div>

Closed on October 30, 2021, 6:50pm UTC

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