Modify

Opened 5 years ago

Closed 5 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)

https.patch (2.8 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by anonymous

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)"

comment:2 Changed 5 years ago by anonymous

Good point.

Better use:

existingSlippyMapUrls.add("https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png");      // Mapnik

comment:3 Changed 5 years ago by Don-vip

Milestone: 14.03
Summary: slippymap chooser: support Mapnik SSL[patch] slippymap chooser: support Mapnik SSL

comment:4 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6917/josm:

fix #9841 - access OSM tiles in HTTPS in slippy map chooser

Changed 5 years ago by anonymous

Attachment: https.patch added

comment:5 Changed 5 years ago by anonymous

Resolution: fixed
Status: closedreopened

This was not enough.

Attached patch is tested and working.

comment:6 Changed 5 years ago by Don-vip

Resolution: fixed
Status: reopenedclosed

Thanks! Applied in [o30336].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.