NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I'm using the tileserver https://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png in leaflet for a project. I'm getting the following error on some of the tiles:

GET https://b.tiles.wmflabs.org/bw-mapnik/9/266/170.png net::ERR_CERT_COMMON_NAME_INVALID

It appears that the error only occurs on tiles loaded from the b subdomain.

The error can be reproduced by replacing {s} in the link above with a, b, c and open the urls in a browser. The b url will raise the error, and the a and c urls will not.

For now I bypassed the problem by using the url "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png".

asked 04 Mar '19, 10:03

mvbaalen's gravatar image

mvbaalen
11113
accept rate: 0%


You'll need to talk to the people in charge of that server (Wikimedia, not OpenStreetMap). A relevant help article is here. Wikimedia have tried to use a wildcard certificate, but it's not working for sub-sub-domains.

OpenStreetMap does it correctly for local tiles - here's an example (click on the "lock" icon to get to the certificate details). OSM is just using a regular certificate for "tile.openstreetmap.org", which works fine.

Other reasons why you might not want to use these tiles include that they are very old (from 2015).

Also note that all of "a", "b" and "c" have the same problems for me - I suspect that you've accepted an exception for 2 of them.

EDIT: Wikimedia have now removed these old tiles completely.

permanent link

answered 04 Mar '19, 13:04

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 18 Mar '19, 18:48

Thank you for your answer. I think I switch back to the default osm tileserver and use css to make the tiles black and white.

(12 Mar '19, 07:55) mvbaalen
1

Looks like Wikimedia have readded those tiles. I saw they were gone for a while, but now they are back.

(19 Mar '19, 14:42) kwkelly
1

I still wouldn't use them. https://b.tiles.wmflabs.org/bw-mapnik/9/266/170.png/status says "Tile is clean. Last rendered at Fri Apr 10 09:00:52 2015". Newer tiles sources are available.

(19 Mar '19, 14:49) SomeoneElse ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×287
×204

question asked: 04 Mar '19, 10:03

question was seen: 4,860 times

last updated: 19 Mar '19, 14:49

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum