如何将 Let's Encrypt 的 RSA 4096 位替换为 ECC 256 位?

如何将 Discourse 的 LetsEncrypt 证书从 RSA 4096 位替换为 ECC 256 位?

我希望在我的安装中永久启用此设置,即使在 Discourse 升级后也能保持,这是否可行?

@mpalmer does this request make sense to you? Is there anything off with our current certificate config in NGINX?

OK per What is RSA, DSA and ECC? ECC is latest and greatest, so I guess we should at least document how to do this. Not sure.

I’m ambivalent on documenting it. The benefits of wholesale replacing an RSA certificate with an ECC one are so niche, and the potential downsides so great, that we’d probably end up with more “I did this thing without considering the consequences AND IT’S ALL YOUR FAULT” topics than “I have a legitimate use case for an ECC cert but can’t figure out how to modify the template to make it happen”.

That’s an empty set. I’d bet on it. :beers:

It is an option you just have to figure out how to write the template and mix it in

只编辑该文件的第 59 行和第 63 行就够了吗?
然后重新构建 Discourse?

编辑 /templates/web.letsencrypt.ssl.template.yml 的第 59 行和第 63 行并未生效。
我的代码:

如果我强制更新/生成新证书,也许能行?
Discourse 下的命令是什么?
谢谢!

@gerhard 于 2019 年实现了这一功能