Skip to content

crypto/x509: system root pool is not available on Windows

Summary

When uploading artifacts to coordinator on Windows, the following warning appears:

WARNING: Failed to load system CertPool: crypto/x509: system root pool is not available on Windows

See https://gitlab.com/Xatom/gitlab-runner-test/-/jobs/49022958

Steps to reproduce

  • Install GitLab Runner on Windows using shell executor
  • Use artifacts in .gitlab-ci.yml

Actual behavior

Warning appears:

WARNING: Failed to load system CertPool: crypto/x509: system root pool is not available on Windows

Expected behavior

No warning should appear.

Relevant logs and/or screenshots

WARNING: Failed to load system CertPool: crypto/x509: system root pool is not available on Windows 

See https://gitlab.com/Xatom/gitlab-runner-test/-/jobs/49022958

Environment description

Using Windows runner with shell executor on Gitlab.com or own CE installation.

Used GitLab Runner version

C:\GitLab>gitlab-runner --version
Version:      10.4.0
Git revision: 857480b6
Git branch:   10-4-stable
GO version:   go1.8.5
Built:        Mon, 22 Jan 2018 09:48:23 +0000
OS/Arch:      windows/amd64