mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 03:27:37 +01:00
Updated ConnectionSystem to use TLSv1.2 instead of SSL, Requires testing
This commit is contained in:
parent
ecfab5d78f
commit
d2e06711e6
@ -169,7 +169,7 @@ public class ConnectionOut {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private SSLSocketFactory getRelaxedSocketFactory() throws NoSuchAlgorithmException, KeyManagementException {
|
private SSLSocketFactory getRelaxedSocketFactory() throws NoSuchAlgorithmException, KeyManagementException {
|
||||||
SSLContext sc = SSLContext.getInstance("SSL");
|
SSLContext sc = SSLContext.getInstance("TLSv1.2");
|
||||||
sc.init(null, trustAllCerts, new java.security.SecureRandom());
|
sc.init(null, trustAllCerts, new java.security.SecureRandom());
|
||||||
return sc.getSocketFactory();
|
return sc.getSocketFactory();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user