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

Tangram doesn't work in a container if the components URLs are HTTPS #6

Open
jomoespe opened this issue Jan 16, 2018 · 2 comments · May be fixed by #7
Open

Tangram doesn't work in a container if the components URLs are HTTPS #6

jomoespe opened this issue Jan 16, 2018 · 2 comments · May be fixed by #7

Comments

@jomoespe
Copy link
Contributor

When try to fetch the component page an error related to x509 certs is thrown:

Error fetching https://raw.githubusercontent.com/thetangram/hello-world/master/html/index.html: Get https://raw.githubusercontent.com/thetangram/hello-world/master/html/index.html: x509: failed to load system roots and no roots provided

Looks like the image doesn't have system root certs, because the *container is created from a scratch *.
We need to analyze how to add this certs to final image.

@cgarciaarano
Copy link

Is a must to use a scratch image? Maybe there are other functionalities needed from OpenSSL

@jomoespe jomoespe changed the title Tangram doesn't in a container if the components URLs are HTTPS Tangram doesn't work in a container if the components URLs are HTTPS Jan 22, 2018
@jomoespe
Copy link
Contributor Author

jomoespe commented Jan 22, 2018

Is not a must. It was the initial idea, but can change. Probably it should work with Busybox, Alpine or similar

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

Successfully merging a pull request may close this issue.

2 participants