如何将 Jetty 与 Let's Encrypt 证书一起使用?

How to use Jetty with Let's Encrypt certificates?

我想使用来自 Let's Encrypt with a large count of Jetty servers. One of the problems is that the certificates from Let's Encrypt has a lifetime of 90 days 的证书。

为了处理这个问题,Jetty 服务器或一些额外的代码必须经常更新证书。

编辑:一些相关的和部分有用的链接:

从版本 9.3.15 开始,您可以使用:

SslContextFactory.reload(Consumer<SslContextFactory>)

详情见:https://github.com/eclipse/jetty.project/issues/918