Changeset 7347 in josm for trunk/src/org
- Timestamp:
- 2014-07-29T00:32:15+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/remotecontrol
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpsServer.java
r7343 r7347 54 54 import sun.security.x509.CertificateVersion; 55 55 import sun.security.x509.CertificateX509Key; 56 import sun.security.x509.DNSName;57 56 import sun.security.x509.ExtendedKeyUsageExtension; 58 57 import sun.security.x509.GeneralName; … … 230 229 231 230 X509Certificate cert = generateCertificate("CN=localhost, OU=JOSM, O=OpenStreetMap", pair, 1825, "SHA256withRSA", 232 "dns:localhost,ip:127.0.0.1,ip:::1,uri:https://127.0.0.1:"+HTTPS_PORT+",uri:https://::1:"+HTTPS_PORT); 231 // see #10033#comment:20: All browsers respect "ip" in SAN, except IE which only understands DNS entries: 232 // https://connect.microsoft.com/IE/feedback/details/814744/the-ie-doesnt-trust-a-san-certificate-when-connecting-to-ip-address 233 "dns:localhost,ip:127.0.0.1,dns:127.0.0.1,ip:::1,uri:https://127.0.0.1:"+HTTPS_PORT+",uri:https://::1:"+HTTPS_PORT); 233 234 234 235 KeyStore ks = KeyStore.getInstance("JKS");
Note:
See TracChangeset
for help on using the changeset viewer.