Skip to content

cannot verify download.geofabrik.de's certificate #446

@Bear4

Description

@Bear4

It doesn't load the database when importing the image. Problem with certificates inside the container... On the host where I have docker I can download pbf files.

But in the container it says
root@556d724c8155:/# wget https://download.geofabrik.de/europe/poland/podlaskie-latest.osm.pbf
--2025-03-24 10:44:32-- https://download.geofabrik.de/europe/poland/podlaskie-latest.osm.pbf
Resolving download.geofabrik.de (download.geofabrik.de)... 95.217.45.61, 95.217.63.98, 65.21.229.87, ...
Connecting to download.geofabrik.de (download.geofabrik.de)|95.217.45.61|:443... connected.
ERROR: cannot verify download.geofabrik.de's certificate, issued by ‘emailAddress=’:
Unable to locally verify the issuer's authority.
To connect to download.geofabrik.de insecurely, use `--no-check-certificate'.

How to use --no-check-certificate' inside container or maybe in image?

Import command:
docker run -e UPDATES=enabled -e DOWNLOAD_PBF=https://download.geofabrik.de/europe/poland/podlaskie-latest.osm.pbf -e DOWNLOAD_POLY=https://download.geofabrik.de/europe/poland/podlaskie.poly -v osm-data:/data/database/ -v osm-tiles:/data/tiles overv/openstreetmap-tile-server import
or
docker run -e UPDATES=enabled -v /home/my/podlaskie-latest.osm.pbf:/data/region.osm.pbf -v /home/my/podlaskie.poly:/data.poly -v osm-data:/data/database/ overv/openstreetmap-tile-server import

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions