You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.
When I exec godep restore , it print "x509 : certificate signed by unknow authority" ,I use http_proxy access to internet , the proxy maybe can't support x509/ssl certificate well ,
How to resolve this problem ? Is any way can stop certification ?
The text was updated successfully, but these errors were encountered:
I have this same problem on OSX when attempting to go get a dependency from a private git repo.
Our self-signed cert is stored in my system keychain and set to "Always Trust". I can curl successfully and it uses the cert as expected.
But when dep ensure is run, I get:
The following errors occurred while deducing packages:
* "redacted/service/api-client/pkg/client": unable to deduce repository and source type for "redacted/service/api-client/pkg/client": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://redacted/service/api-client/pkg/client?go-get=1": Get https://redacted:443/service/api-client/pkg/client?go-get=1: x509: certificate signed by unknown authority
I even have this particular project checked out from git and built in my GOPATH (though I understand dep doesn't use gopath for this).
The cert works in every other context, just not when running dep ensure. Any ideas why this might be?
$ dep version
dep:
version : v0.5.0
build date : 2018-07-26
git hash : 224a564
go version : go1.10.3
go compiler : gc
platform : darwin/amd64
features : ImportDuringSolve=false
$ go version
go version go1.11 darwin/amd64
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I exec godep restore , it print "x509 : certificate signed by unknow authority" ,I use http_proxy access to internet , the proxy maybe can't support x509/ssl certificate well ,
How to resolve this problem ? Is any way can stop certification ?
The text was updated successfully, but these errors were encountered: