# 如何撤销证书并卸载 discourse？

**URL:** <https://meta.discourse.org/t/how-to-revoke-certificates-and-uninstall-discourse/252207>\
**Category:** Self-hosting\
**Created:** [2023 年1 月 18 日 18:13 UTC](https://meta.discourse.org/t/how-to-revoke-certificates-and-uninstall-discourse/252207 "2023-01-18T18:13:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
发布日期： [2023 年1 月 18 日 18:32 UTC](https://meta.discourse.org/t/how-to-revoke-certificates-and-uninstall-discourse/252207/2 "2023-01-18T18:32:19Z")

</div>

> [@Danran](#):
>
> 我不想仅仅删除 discourse 目录，因为我知道它包含来自 letsencrypt 的有效 ssl 证书

不撤销证书的风险微乎其微。没有私钥，它们毫无用处。

如果你想这样做，可以参考：

> **[Revoking Certificates](https://letsencrypt.org/docs/revoking/)**
>
> When a certificate is no longer safe to use, you should revoke it. This can happen for a few different reasons. For instance, you might accidentally share the private key on a public website; hackers might copy the private key off of your servers; or...

删除容器、卷，然后删除 Discourse 安装目录就足以完成卸载。

---

_[View the full topic](https://meta.discourse.org/t/how-to-revoke-certificates-and-uninstall-discourse/252207)._
