Java – how to use jet’s let encryption certificate?

I want to use let's encrypt certificates and a large number of jetty servers One problem is that the certificate from let's encrypt has a lifetime of 90 days

To deal with this problem, the jetty server or some additional code must update the certificate frequently

>Can jetty handle this? If so, how do I enable it? > If I need to implement it myself using java client, how can I dynamically replace the certificate through the jetty API without restarting the jetty server?

Edit: some relevant and useful links:

> setting ssl keystore at runtime in Jetty > Changing Jetty SSL server certificate on-the-fly

Solution

From version 9.3 From 15, you can use:

SslContextFactory.reload(Consumer<SslContextFactory>)

For more information, see: https://github.com/eclipse/jetty.project/issues/918

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>