如何使用支持 TLS 1.3 的 Azul JSSE

How to use Azul's JSSE with TLS 1.3 support

https://github.com/openjsse/openjsse

"The OpenJSSE project was created to add support for TLS 1.3 to existing Java 8 applications without requiring code changes"

这个项目具体怎么用?

我目前正在为 Java 8.

使用 AdoptOpenJDK 构建

如 openjdk (Link) 的问题日志中所述:

OpenJSSE for OpenJDK can be installed in two possible ways:

  • add OpenJSSE provider in the list of security providers of java.security file
  • registered at runtime with Security.insertProviderAt method

However you'll better use Azul JDK8 builds as soon as it has preintegrated and fully tested support for OpenJSSE provider with -XX:+UseOpenJSSE