https://github.com/christianvozar/go-rootca
Certificate Authority Bundle for Go HTTP Clients
https://github.com/christianvozar/go-rootca
certificate-authority go https tls
Last synced: about 1 year ago
JSON representation
Certificate Authority Bundle for Go HTTP Clients
- Host: GitHub
- URL: https://github.com/christianvozar/go-rootca
- Owner: christianvozar
- License: gpl-3.0
- Created: 2020-01-13T23:01:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-17T04:38:49.000Z (over 6 years ago)
- Last Synced: 2024-04-17T21:21:04.078Z (about 2 years ago)
- Topics: certificate-authority, go, https, tls
- Language: Go
- Homepage:
- Size: 792 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.markdown
Awesome Lists containing this project
README
# gorootca
```Go
import "github.com/christianvozar/gorootca"
```
gorootca provides a convenient HTTPS client with a root certificate bundle for HTTP clients using TLS/SSL. If a Docker image is built using the `scratch` base image without providing a root certificate bundle the Go application will commonly exit fatally with `x509: failed to load system roots and no roots provided" by bundling root certificates.`. Utilizing this package will prevent this error and allow maintainers to create Docker images of smaller size.
gorootca takes its root certificates from the stable [CoreOS](https://coreos.com) distribution channel. Thanks [CoreOS](https://coreos.com)! Sadly, CoreOS has been discontinued and an updated root certificiate will be identified.