Ignore:
Timestamp:
2019-10-22T23:32:51+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #10033, fix #15748, fix #17097 - drop remote control https support

Rationale: all modern browsers (including next version of Safari) allow mixed-content to localhost.

Cross-platform / cross-browser HTTPS support is a pain to maintain, was never completed, and is no longer needed.

File:
1 edited

Legend:

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

    r15193 r15469  
    1010import java.io.InputStreamReader;
    1111import java.nio.charset.StandardCharsets;
    12 import java.security.KeyStore;
    1312import java.security.KeyStoreException;
    1413import java.security.NoSuchAlgorithmException;
     
    162161    default String getOSBuildNumber() {
    163162        return "";
    164     }
    165 
    166     /**
    167      * Setup system keystore to add JOSM HTTPS certificate (for remote control).
    168      * @param entryAlias The entry alias to use
    169      * @param trustedCert the JOSM certificate for localhost
    170      * @return {@code true} if something has changed as a result of the call (certificate installation, etc.)
    171      * @throws KeyStoreException in case of error
    172      * @throws IOException in case of error
    173      * @throws CertificateException in case of error
    174      * @throws NoSuchAlgorithmException in case of error
    175      * @since 7343
    176      */
    177     default boolean setupHttpsCertificate(String entryAlias, KeyStore.TrustedCertificateEntry trustedCert)
    178             throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {
    179         // TODO setup HTTPS certificate on Unix and OS X systems
    180         return false;
    181163    }
    182164
Note: See TracChangeset for help on using the changeset viewer.