Changeset 19650 in josm for trunk/src/org


Ignore:
Timestamp:
2026-10-21T16:58:33+02:00 (2 days ago)
Author:
gaben
Message:

fix #24962 - use a TLSv1.3 context when installing amended root certificates

File:
1 edited

Legend:

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

    r19487 r19650  
    235235            TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
    236236            tmf.init(keyStore);
    237             SSLContext sslContext = SSLContext.getInstance("TLSv1.2");
     237            SSLContext sslContext = SSLContext.getInstance("TLSv1.3");
    238238            sslContext.init(null, tmf.getTrustManagers(), null);
    239239            SSLContext.setDefault(sslContext);
Note: See TracChangeset for help on using the changeset viewer.