We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846c9bc commit 32b5062Copy full SHA for 32b5062
utils/src/main/java/org/apache/cloudstack/utils/security/SSLUtils.java
@@ -49,10 +49,10 @@ public static String[] getSupportedCiphers() throws NoSuchAlgorithmException {
49
}
50
51
public static SSLContext getSSLContext() throws NoSuchAlgorithmException {
52
- return SSLContext.getInstance("TLSv1");
+ return SSLContext.getInstance("TLSv1.2");
53
54
55
public static SSLContext getSSLContext(String provider) throws NoSuchAlgorithmException, NoSuchProviderException {
56
- return SSLContext.getInstance("TLSv1", provider);
+ return SSLContext.getInstance("TLSv1.2", provider);
57
58
0 commit comments