Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ca-certificates to light docker image #1200

Merged
merged 1 commit into from Jul 18, 2019

Conversation

atheiman
Copy link
Contributor

I found that when hashicorp/consul-template:light tries to talk to my Vault server that is secured with a Let’s Encrypt cert, it fails. (vault fqdn changed to vault.example.com in logs)

2019/03/20 18:13:47.270390 [WARN] (view) vault.read(secret/mydatabase): vault.read(secret/data/database): Get https://vault.example.com/v1/sys/internal/ui/mounts/secret/data/database: x509: certificate signed by unknown authority (retry attempt 1 after "250ms")
2019/03/20 18:13:47.398900 [WARN] vault.token: failed to renew: Put https://vault.example.com/v1/auth/token/renew-self: x509: certificate signed by unknown authority

If I run apk add --no-cache ca-certificates before running consul-template, the problem is fixed.

2019/03/20 18:14:22.207209 [INFO] (runner) rendered "./system.properties.ctmpl" => "./system.properties"

@atheiman
Copy link
Contributor Author

@pearkes thanks for your help when I added this light image in #1191 - could you help me out with reviewing this one?

@atheiman
Copy link
Contributor Author

atheiman commented Apr 8, 2019

anyone that can help with this?

@eikenb eikenb added bug vault Related to the Vault integration labels Jun 18, 2019
@eikenb
Copy link
Contributor

eikenb commented Jun 18, 2019

Hey @atheiman, thanks for the contribution. I'll be looking at this when putting together my initial, "hey look a new maintainer", release.

@eikenb eikenb added this to the v0.20.1 milestone Jun 18, 2019
@eikenb eikenb merged commit f382b9f into hashicorp:master Jul 18, 2019
@atheiman atheiman deleted the light-cacerts branch September 6, 2019 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug vault Related to the Vault integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants