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)

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

Download all attachments as: .zip

Change History (7)

comment:1 by anonymous, 11 years ago

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 by anonymous, 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 Don-vip, 11 years ago

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

comment:4 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 6917/josm:

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

by anonymous, 11 years ago

Attachment: https.patch added

comment:5 by anonymous, 11 years ago

Resolution: fixed
Status: closedreopened

This was not enough.

Attached patch is tested and working.

comment:6 by Don-vip, 11 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.