Skip to content
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

cmd/go: SSL: certificate verification failed #11404

Closed
debo opened this issue Jun 25, 2015 · 5 comments
Closed

cmd/go: SSL: certificate verification failed #11404

debo opened this issue Jun 25, 2015 · 5 comments

Comments

@debo
Copy link

debo commented Jun 25, 2015

I was trying to download some tools via go-plus for atom but without success so I tried to run the command manually and this is the output I'm getting:

$ go get -u golang.org/x/tools/cmd/cover
# cd .; git clone https://go.googlesource.com/tools /usr/local/opt/go/src/golang.org/x/tools
Cloning into '/usr/local/opt/go/src/golang.org/x/tools'...
fatal: unable to access 'https://go.googlesource.com/tools/': SSL: certificate verification failed (result: 5)
package golang.org/x/tools/cmd/cover: exit status 128

It works fine on another Mac OSX with pretty much the same specs. Any ideas or pointer? Thanks a lot for your help.

@mikioh mikioh changed the title SSL: certificate verification failed cmd/go: SSL: certificate verification failed Jun 25, 2015
@mikioh
Copy link
Contributor

mikioh commented Jun 25, 2015

What happens when you run "git clone https://go.googlesource.com/tools" on the node?

@debo
Copy link
Author

debo commented Jun 25, 2015

@mikioh same.

@bradfitz
Copy link
Contributor

Please include information in bug reports that would be facilitate debugging. For example:

OS X version?
Go version?
Git version?
Where did you get git from? And Go from? Some packaging system?

Can you run curl https://go.googlesource.com/tools without an SSL warning?

@debo
Copy link
Author

debo commented Jun 25, 2015

Not needed anymore. I just found the problem. I have the following entry in my .gitconfig because at
work we use ithub enterprise, so I think we should call it a pebkac :(

[http]
    sslcainfo = /Users/marco.debortoli/.certs/enterprise.crt
    sslverify = true

@debo
Copy link
Author

debo commented Jun 25, 2015

Sorry for opening an almost useless issue and thanks for the help.

@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants