google / uuid

Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: certificate signed by unknown authority

dchebakov opened this issue · comments

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?

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.