Skip to content

Commit

Permalink
use TLSv1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Mar 1, 2024
1 parent a3d5f33 commit d72518c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/cryostat/agent/WebServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit d72518c

Please sign in to comment.