# 如何强制 Let's Encrypt 证书续期

**URL:** <https://meta.discourse.org/t/how-to-force-letsencrypt-cert-renewal/143223>\
**Category:** Self-hosting\
**Tags:** letsencrypt\
**Created:** [2020年三月3日 15:52 UTC](https://meta.discourse.org/t/how-to-force-letsencrypt-cert-renewal/143223 "2020-03-03T15:52:30Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [2020年三月4日 19:45 UTC](https://meta.discourse.org/t/how-to-force-letsencrypt-cert-renewal/143223/6 "2020-03-04T19:45:00Z")

</div>

你说得对，我没有检查所有域名，我原本以为所有域名都涉及到了，但那个使用 Discourse 的域名可以忽略。

另外，我也找到了强制续期的方法：

- `cd /var/discourse`
- `./launcher enter app`
- `"/shared/letsencrypt"/acme.sh --cron --home "/shared/letsencrypt" --force`
- `exit`

我不知道是否有更直接的方法，但在刷新网站缓存后，这个方法生效了。

---

_[View the full topic](https://meta.discourse.org/t/how-to-force-letsencrypt-cert-renewal/143223)._
