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, 10:03

mvbaalen's gravatar image

mvbaalen
113
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, 13:04

SomeoneElse's gravatar image

SomeoneElse ♦
31.3k63322726
accept rate: 15%

edited 2 days ago

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, 07:55) mvbaalen

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

(yesterday) 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.

(yesterday) SomeoneElse ♦
Your answer
toggle preview

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:

×208
×143

question asked: 04 Mar, 10:03

question was seen: 163 times

last updated: yesterday

powered by OSQA