diff --git a/src/main/java/io/cryostat/agent/WebServer.java b/src/main/java/io/cryostat/agent/WebServer.java index f0a03d98..e774e80c 100644 --- a/src/main/java/io/cryostat/agent/WebServer.java +++ b/src/main/java/io/cryostat/agent/WebServer.java @@ -117,7 +117,7 @@ void start() { try { // initialize new HTTPS server this.https = HttpsServer.create(new InetSocketAddress(host, port), 0); - SSLContext sslContext = SSLContext.getInstance("TLS"); + SSLContext sslContext = SSLContext.getInstance("TLSv1.2"); // initialize keystore InputStream pass = this.getClass().getResourceAsStream("/certs/keystore.pass");