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

SSL certificate problem #85

Closed
aericson opened this issue May 13, 2020 · 3 comments
Closed

SSL certificate problem #85

aericson opened this issue May 13, 2020 · 3 comments
Labels

Comments

@aericson
Copy link

Having problems with ssl certificates on python3.7 image. Can be reproduced with:

~ docker run -it --rm tiangolo/uwsgi-nginx:python3.7 curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

worked fine with tiangolo/uwsgi-nginx:python3.7-2020-05-07

@mybr4inhurts
Copy link

Reinstalling the ca-certificate package will solve that problem.
You can add RUN apt update && apt install --reinstall ca-certificates to your dockerfile or you could execute the apt commands in your running container.

An image update would be nice though.

@tiangolo
Copy link
Owner

Thanks for the discussion here, and thanks for the help @mybr4inhurts!

As the packages installation was recently updated, it might be solved now. If it's not, could you @aericson please create a minimal self-contained example that replicates the issue? I imagine it could be just a small but complete Dockerfile.

Otherwise, if your problem is solved, you can close this issue. ✔️

@aericson
Copy link
Author

Works fine now, thanks!

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

No branches or pull requests

3 participants