google / uuid

Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
BSD 3-Clause "New" or "Revised" License
5.24k stars 363 forks source link

error: certificate signed by unknown authority #95

Open dchebakov opened 2 years ago

dchebakov commented 2 years ago

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?

nfoerster commented 2 years ago

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.