Commit d52904d9 authored by Costin Grigoras's avatar Costin Grigoras
Browse files

Also allow TLSv1.3

parent 99006804
......@@ -270,7 +270,7 @@ public class DispatchSSLClient {
// initialize factory, with clientCert(incl. priv+pub)
kmf.init(JAKeyStore.getKeyStore(), JAKeyStore.pass);
java.lang.System.setProperty("jdk.tls.client.protocols", "TLSv1.2");
java.lang.System.setProperty("jdk.tls.client.protocols", "TLSv1.2,TLSv1.3");
final SSLContext ssc = SSLContext.getInstance("TLS");
// initialize SSL with certificate and the trusted CA and pub certs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment