curl: error setting certificate verify locations

Recently in a docker container I got the following error message:

cURL error (77) error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs for https://example.org

The solution was to install the ca-certificates via apt.

Written by Christian Weiske.

Comments? Please send an e-mail.