Skip to content

Commit

Permalink
fix(tls): use TLSv1.2 (#344) (#345)
Browse files Browse the repository at this point in the history
(cherry picked from commit a8282f1)

Co-authored-by: Andrew Azores <aazores@redhat.com>
  • Loading branch information
mergify[bot] and andrewazores authored Feb 27, 2024
1 parent 8a6bd4a commit ab8969d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/cryostat/agent/MainModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public static SSLContext provideSslContext(
return SSLContext.getDefault();
}

SSLContext sslCtx = SSLContext.getInstance("TLS");
SSLContext sslCtx = SSLContext.getInstance("TLSv1.2");
sslCtx.init(
null,
new TrustManager[] {
Expand Down

0 comments on commit ab8969d

Please sign in to comment.