-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto/x509: failed to load system roots and no roots provided #42414
Comments
It seems system error. I reinstalled the system and fixed it. |
I reproduced the problem, very strange. |
Yeah,my situation is just the same.@wawa0210 |
I suggest that you can reopen this issue for further follow-up by the community |
yeah, the same problem for me. |
Is there any update? On my MacOS Catalina 10.15.6, both go 1.15 and 1.16 meet x509 problem, but go 1.14 succeeds. What should I do if I want to use go 1.16 or even more updated versions? |
same here.
|
I met the same problem. I solved this problem by trusting DigiCert Global Root CA in keychain. |
Trust DigiCert Global Root CA in keychain works! Thanks to @ysrotciv . |
It works for me. Thanks to @ysrotciv . |
It works!!! Thanks to @ysrotciv . |
It works. Thanks to @ysrotciv |
It works(^▽^) Thanks to @ysrotciv |
Change https://golang.org/cl/353132 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go get github.com/golang/glog
What did you expect to see?
go get success
What did you see instead?
go get github.com/golang/glog: module github.com/golang/glog: Get "https://goproxy.io/github.com/golang/glog/@v/list": x509: failed to load system roots and no roots provided; SecTrustSettingsCopyCertificates error: -25300
The text was updated successfully, but these errors were encountered: