Ignore:
Timestamp:
2018-04-25T01:22:02+02:00 (6 years ago)
Author:
Don-vip
Message:

sonar - squid:S4423 - Weak SSLContexts should not be used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/CertificateAmendment.java

    r13647 r13679  
    229229            TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
    230230            tmf.init(keyStore);
    231             SSLContext sslContext = SSLContext.getInstance("TLS");
     231            SSLContext sslContext = SSLContext.getInstance("TLSv1.2");
    232232            sslContext.init(null, tmf.getTrustManagers(), null);
    233233            SSLContext.setDefault(sslContext);
Note: See TracChangeset for help on using the changeset viewer.