Modify ↓
Opened 11 years ago
Closed 11 years ago
#9841 closed enhancement (fixed)
[patch] slippymap chooser: support Mapnik SSL
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.03 |
Component: | Core | Version: | latest |
Keywords: | ssl | Cc: |
Description
src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java:
change
existingSlippyMapUrls.add("http://tile.openstreetmap.org/{zoom}/{x}/{y}.png"); // Mapnik
to
existingSlippyMapUrls.add("https://tile.openstreetmap.org/{zoom}/{x}/{y}.png"); // Mapnik
?
Attachments (1)
Change History (7)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Good point.
Better use:
existingSlippyMapUrls.add("https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png"); // Mapnik
comment:3 by , 11 years ago
Milestone: | → 14.03 |
---|---|
Summary: | slippymap chooser: support Mapnik SSL → [patch] slippymap chooser: support Mapnik SSL |
by , 11 years ago
Attachment: | https.patch added |
---|
comment:5 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This was not enough.
Attached patch is tested and working.
comment:6 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Thanks! Applied in [o30336].
Note:
See TracTickets
for help on using tickets.
Be careful. The server accessed via URL https://tile.openstreetmap.org server doesn't have the right certificate.
Firefox warns about "tile.openstreetmap.org uses an invalid security certificate. The certificate is only valid for *.tile.openstreetmap.org (Error code: ssl_error_bad_cert_domain)"