未验证 提交 e9b2d852 编写于 作者: S SSpirits 提交者: GitHub

[ISSUE #1233] Fix CVE-2011-1473

上级 e277216b
......@@ -133,7 +133,7 @@ public class TlsHelper {
SelfSignedCertificate selfSignedCertificate = new SelfSignedCertificate();
return SslContextBuilder
.forServer(selfSignedCertificate.certificate(), selfSignedCertificate.privateKey())
.sslProvider(SslProvider.JDK)
.sslProvider(provider)
.clientAuth(ClientAuth.OPTIONAL)
.build();
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册