使用测试 SSL 证书安装 Discourse

Let’s Encrypt 对同一域名每周可生成的证书数量有限制。不幸的是,我们已达到此限制,本周无法生成新证书。

我们已备份社区数据,并尝试从头开始重新安装 Discourse。但由于已达到限制,我们无法继续安装。请问是否可以通过在 acme.sh 中使用 --staging 参数来安装 Discourse?

我们的论坛目前处于停机状态,希望能尽快得到回复。

谢谢。

Why did you re-install from scratch? Do you still have the shared folder from the old instance? If you copy over the letsencrypt and ssl folders you should be able to use those certificates. Mostly, you’d just rsync over /var/discourse/shared from the other server and rebuild. It should re-use the existing certificates.

If you do have access to those files and it’s an emergency that you want to throw money at, see Fix Your Broken Site – Literate Computing, LLC. I should be at my desk for at least the next hour or so.

我重新安装了 Discourse,因为升级出了问题,但我有备份。我当时没意识到会耗尽 Let’s Encrypt 的 SSL 证书,不过我已经解决了这个问题。