Skip to content

Update SSL CA certificates to fix download failures#98

Merged
iandees merged 1 commit into
masterfrom
fix-ssl-certs
Mar 27, 2026
Merged

Update SSL CA certificates to fix download failures#98
iandees merged 1 commit into
masterfrom
fix-ssl-certs

Conversation

@iandees

@iandees iandees commented Mar 27, 2026

Copy link
Copy Markdown
Member

Summary

The base GDAL Alpine image (ghcr.io/osgeo/gdal:alpine-normal-3.7.1) was built in 2023 with stale CA certificates. This causes SSL: CERTIFICATE_VERIFY_FAILED errors when downloading source data from ~40+ servers whose certificates have been renewed since then.

Changes

  • Add ca-certificates package and run update-ca-certificates for system-level tools
  • Upgrade certifi Python package after install (used by requests for its CA bundle)

Impact

This should fix SSL failures for sources hosted on servers like:

  • data.calgary.ca, data.edmonton.ca, data.winnipeg.ca (Canadian open data portals)
  • opendata.vancouver.ca, geo.kelowna.ca (BC municipal data)
  • Various Brazilian, Australian, and other international data portals

Newer GDAL Alpine images (3.8+) don't appear to be published to GHCR, so upgrading the base image isn't currently an option.

@iandees iandees merged commit 8718925 into master Mar 27, 2026
1 check passed
@iandees iandees deleted the fix-ssl-certs branch March 27, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant