error: certificate signed by unknown authority
dchebakov opened this issue · comments
Dmitry Chebakov commented
Hi,
Thank you for the package! I'm struggling with the following problem due installation instruction from README. Right after the command go get github.com/google/uuid
I'm getting the following error:
$ go get github.com/google/uuid
go: downloading github.com/google/uuid v1.3.0
go get: github.com/google/uuid@v1.3.0: verifying module: github.com/google/uuid@v1.3.0: Get "https://sum.golang.org/lookup/github.com/google/uuid@v1.3.0": x509: certificate signed by unknown authority
version:
$ go version
go version go1.17.2 darwin/amd64
Could you help me please?
Norman Förster commented
I think your problem is that your OS has not the newest root certificates, known as trust anchors. Therefore no valid validation chain for HTTPS could be established. Try to update the OS you are using to download the package.