I’m encountering an issue with the Go driver for MongoDB. When trying to fetch the module go.mongodb.org/mongo-driver
, the following error occurs:
github.com/jmespath/go-jmespath/internal/testify/assert: go.mongodb.org/mongo-driver@v1.15.1: unrecognized import path "go.mongodb.org/mongo-driver": https fetch: Get "https://go.mongodb.org/mongo-driver?go-get=1": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2025-01-03T02:38:19Z is after 2025-01-02T23:59:59Z
It seems the TLS certificate for go.mongodb.org
expired on 2025-01-02T23:59:59Z
, which is causing this issue.
Steps to Reproduce:
- Attempt to fetch the module via
go get go.mongodb.org/mongo-driver
. - Observe the TLS certificate verification failure.
Current Environment:
- Go Version: [Add your Go version here, e.g., 1.20.5]
- MongoDB Go Driver Version:
v1.15.1
- Time of Error:
2025-01-03T02:38:19Z
Request:
Could you please renew the certificate for go.mongodb.org
? This is currently blocking module installation and updates.
In the meantime, I’ve applied temporary workarounds like GOINSECURE
to proceed, but a permanent fix would be appreciated.
Thanks in advance for your assistance!