golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.38k stars 17.71k forks source link

proxy.golang.org: failed to verify certificate #65118

Closed ankahla closed 10 months ago

ankahla commented 10 months ago

When trying to build caddy image (caddy:2.7) the following command failed with error :

go: github.com/caddyserver/caddy/v2@v2.7.6: Get "https://proxy.golang.org/github.com/caddyserver/caddy/v2/@v/v2.7.6.info": tls: failed to verify certificate: x509: certificate signed by unknown authority

The command:

RUN xcaddy build \
    --with github.com/dunglas/mercure \
    --with github.com/dunglas/mercure/caddy \
    --with github.com/dunglas/vulcain \
    --with github.com/dunglas/vulcain/caddy
seankhliao commented 10 months ago

sounds like a problem with your environment.

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For questions please refer to https://github.com/golang/go/wiki/Questions