Skip to content

Commit

Permalink
Add note about x509 error on Alpine Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
danenania authored Jun 12, 2019
1 parent 6bd9a6d commit 02c8021
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ error: ENVKEY invalid
-v, --version prints the version
```

## x509 error / ca-certificates

On a stripped down OS like Alpine Linux, you may get an `x509: certificate signed by unknown authority` error when `envkey-fetch` attempts to load your config. `envkey-fetch` tries to handle this by including its own set of trusted CAs via [gocertifi](https://github.com/certifi/gocertifi), but if you're getting this error anyway, you can fix it by ensuring that the `ca-certificates` dependency is installed. On Alpine you'll want to run:
```
apk add --no-cache ca-certificates
```

## Further Reading

For more on EnvKey in general:
Expand Down

0 comments on commit 02c8021

Please sign in to comment.