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 dockerimage #64

Merged
merged 3 commits into from
Jun 13, 2020

Conversation

blacs30
Copy link
Contributor

@blacs30 blacs30 commented Jun 12, 2020

Currently I get errors while lcm is running:

time="2020-06-12T12:02:40Z" level=warning msg="Error fetching latest version: err: Get \"https://api.github.com/repos/hashicorp/terraform/releases/latest\": x509: certificate signed by unknown authority" repo=hashicorp/terraform

The reason for that is that the dockerimage doesn't contain the public ca certs and therefore can't trust the ssl connection.

@arminc
Copy link
Owner

arminc commented Jun 12, 2020

My bad. I think it would be better to copy the certs from alpine and keep the binary in the scratch container from the security perspective.

@blacs30
Copy link
Contributor Author

blacs30 commented Jun 12, 2020

Good point. I’ll update the PR.

@arminc arminc merged commit f0668c6 into arminc:master Jun 13, 2020
@blacs30
Copy link
Contributor Author

blacs30 commented Jun 24, 2020

When could we see the next release including this? Especially an updated docker image would be great.

@arminc
Copy link
Owner

arminc commented Jun 24, 2020

I wanted to add some other things in but then got stuck because not time. I will do a release tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants