Skip to content

makebuildserver: verify CA certificates to stop urllib3 warnings

Marcus requested to merge (removed):mr/verify_ca_certs into master

Try to find a certificate bundle on the system and use that to make the download requests. The paths we loo for should cover most linux distributions, the list of files to look for is taken from the Go source code.

If no ca bundle is found, fall back to the old behaviour of not verifying the server certificate. This is still okay, because we verify the shasum of every download.

Merge request reports

Loading