What steps will reproduce the problem? Build latest go compiler from tip on Linux. Try to go get some code. marko@cpp1.d3:~ $ go version go version devel +3e162252c755 Sun Sep 15 10:45:36 2013 +1000 linux/amd64 marko@cpp1.d3:~ $ go get code.google.com/p/goprotobuf/{proto,protoc-gen-go} package code.google.com/p/goprotobuf/proto: Get https://code.google.com/p/goprotobuf/source/checkout?repo=: x509: failed to load system roots and no roots provided package code.google.com/p/goprotobuf/protoc-gen-go: Get https://code.google.com/p/goprotobuf/source/checkout?repo=: x509: failed to load system roots and no roots provided Default build. Without any GO environment variables.
2 thoughts on “crypto/x509: failed to load system roots when there are no system roots”
Comments are closed.
On Ubuntu (e.g. in Docker):
apt-get install ca-certificates