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

"SSL certificate problem: self signed certificate in certificate chain error" while building alpine docker image. #828

Open
manasi12345 opened this issue Apr 20, 2021 · 0 comments

Comments

@manasi12345
Copy link

Hello Team,

We are seeing below error while building veneur image locally using Dockerfile-alpine. This was working as expected last week Monday (April 12, 2021) and when we tried today its failing consistently with the below error.

[deps 4/16] RUN go get -u -v github.com/golang/protobuf/protoc-gen-go:
#11 0.258 github.com/golang/protobuf (download)
#11 4.106 get "google.golang.org/protobuf/compiler/protogen": found meta tag get.metaImport{Prefix:"google.golang.org/protobuf", VCS:"git", RepoRoot:"https://go.googlesource.com/protobuf"} at //google.golang.org/protobuf/compiler/protogen?go-get=1
#11 4.106 get "google.golang.org/protobuf/compiler/protogen": verifying non-authoritative meta tag
#11 4.195 google.golang.org/protobuf (download)
#11 4.401 # cd .; git clone -- https://go.googlesource.com/protobuf /go/src/google.golang.org/protobuf
#11 4.401 Cloning into '/go/src/google.golang.org/protobuf'...
#11 4.401 fatal: unable to access 'https://go.googlesource.com/protobuf/': SSL certificate problem: self signed certificate in certificate chain
#11 4.401 package google.golang.org/protobuf/compiler/protogen: exit status 128
#11 4.489 get "google.golang.org/protobuf/types/descriptorpb": found meta tag get.metaImport{Prefix:"google.golang.org/protobuf", VCS:"git", RepoRoot:"https://go.googlesource.com/protobuf"} at //google.golang.org/protobuf/types/descriptorpb?go-get=1
#11 4.489 get "google.golang.org/protobuf/types/descriptorpb": verifying non-authoritative meta tag
#11 4.489 cannot find package "google.golang.org/protobuf/types/descriptorpb" in any of:
#11 4.489 /usr/lib/go/src/google.golang.org/protobuf/types/descriptorpb (from $GOROOT)
#11 4.489 /go/src/google.golang.org/protobuf/types/descriptorpb (from $GOPATH)
#11 4.573 get "google.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo": found meta tag get.metaImport{Prefix:"google.golang.org/protobuf", VCS:"git", RepoRoot:"https://go.googlesource.com/protobuf"} at //google.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo?go-get=1
#11 4.573 get "google.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo": verifying non-authoritative meta tag
#11 4.574 cannot find package "google.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo" in any of:
#11 4.574 /usr/lib/go/src/google.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo (from $GOROOT)
#11 4.574 /go/src/google.golang.org/protobuf/cmd/protoc-gen-go/internal_gengo (from $GOPATH)


executor failed running [/bin/sh -c go get -u -v github.com/golang/protobuf/protoc-gen-go]: exit code: 1

Regards,
Manasi A

@manasi12345 manasi12345 changed the title SSL self sign certificate error while building docker image for "go.googlesource.com/protobuf/" "SSL certificate problem: self signed certificate in certificate chain error" while building alpine docker image. Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant