Closed
Description
https://golang.org/pkg/crypto/x509/#SystemCertPool doesn't work on Windows:
func SystemCertPool() (*CertPool, error) {
if runtime.GOOS == "windows" {
return nil, errors.New("crypto/x509: system root pool is not available on Windows")
}
....
I checked it in with the commit message "SystemCertPool returns an error on Windows. Maybe it's fixable later." (a62ae9f, golang.org/cl/21293, #13335)
This bug is about fixing it.
/cc @alexbrainman