mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-08-20 11:42:50 +02: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 {
|
||||
SSLContext sc = SSLContext.getInstance("SSL");
|
||||
SSLContext sc = SSLContext.getInstance("TLSv1.2");
|
||||
sc.init(null, trustAllCerts, new java.security.SecureRandom());
|
||||
return sc.getSocketFactory();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user