census-instrumentation / opencensus-website

opencensus.io website content
https://opencensus.io
Apache License 2.0
42 stars 155 forks source link

Unable to install Go library due to SSL certificate issue #711

Closed Kangaroux closed 5 years ago

Kangaroux commented 5 years ago
$ go get go.opencensus.io@v0.20.1
go: finding github.com/golang-migrate/migrate/v4 v4.3.1
go: finding github.com/golang-migrate/migrate/v4 v4.3.0
go: finding github.com/fsouza/fake-gcs-server v1.5.0
go: finding cloud.google.com/go v0.36.0
go: finding github.com/googleapis/gax-go/v2 v2.0.3
go: finding google.golang.org/grpc v1.16.0
go: finding github.com/golang/lint v0.0.0-20180702182130-06c8688daad7
go: finding golang.org/x/lint v0.0.0-20180702182130-06c8688daad7
go: go.opencensus.io@v0.18.0: unrecognized import path "go.opencensus.io" (https fetch: Get https://go.opencensus.io?go-get=1: x509: certificate has expired or is not yet valid)
$ curl https://go.opencensus.io
curl: (60) SSL certificate problem: certificate is not yet valid
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
songy23 commented 5 years ago

Couldn't reproduce the error on my workstation:

$ curl https://go.opencensus.io
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="go-import" content="go.opencensus.io git https://github.com/census-instrumentation/opencensus-go">
<meta name="go-source" content="go.opencensus.io https://github.com/census-instrumentation/opencensus-go https://github.com/census-instrumentation/opencensus-go/tree/master{/dir} https://github.com/census-instrumentation/opencensus-go/blob/master{/dir}/{file}#L{line}">
<meta http-equiv="refresh" content="0; url=https://godoc.org/go.opencensus.io/">
</head>
<body>
Nothing to see here; <a href="https://godoc.org/go.opencensus.io/">see the package on godoc</a>.
</body>
</html>
Kangaroux commented 5 years ago

@songy23 Looks to be fixed now.