Skip to content

windows: Don't log crypto/x509: system root pool warning

Stan Hu requested to merge sh-silence-x509-win-warning into master

On Windows runners, the error message is always displayed for a job:

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

Since x509.SystemCertPool doesn't work on Windows, don't log a warning.

References:

  1. https://github.com/golang/go/issues/16736
  2. https://github.com/golang/go/issues/18609
  3. !865 (diffs, comment 66406735)

Closes #3035 (closed)

Edited by Stan Hu

Merge request reports