Ignore:
Timestamp:
2018-02-23T00:01:20+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #15992 - load native certificates from macOS system root trust store, see https://support.apple.com/en-us/HT208127

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java

    r13204 r13450  
    2626
    2727import org.openstreetmap.josm.Main;
    28 import org.openstreetmap.josm.io.CertificateAmendment.CertAmend;
     28import org.openstreetmap.josm.io.CertificateAmendment.NativeCertAmend;
    2929import org.openstreetmap.josm.spi.preferences.Config;
    3030
     
    398398
    399399    @Override
    400     public X509Certificate getX509Certificate(CertAmend certAmend)
     400    public X509Certificate getX509Certificate(NativeCertAmend certAmend)
    401401            throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {
    402402        File f = new File("/usr/share/ca-certificates/mozilla", certAmend.getFilename());
Note: See TracChangeset for help on using the changeset viewer.