Commit 062ee99 breaks pip install SSL SSL: CERTIFICATE_VERIFY_FAILED
See original GitHub issueSince commit 062ee99 (12 hours ago) our docker builds have been failing and i narrowed it down to this commit. I reverted the commit, published a new image: https://hub.docker.com/r/trycom/uwsgi-nginx-docker/tags/ and used that instead and everything worked as normal.
To reproduce, simply create a Dockerfile
FROM tiangolo/uwsgi-nginx:python3.6
RUN pip install requests=2.11.1
RUN pip install googlemaps
and you’ll get the error when attempting to pip install googlemaps. Yesterday this used to work, so having published a reverted image you can do the following to see expected results:
FROM trycom/uwsgi-nginx-docker:39f6fdb
RUN pip install requests=2.11.1
RUN pip install googlemaps
Also, as a separate comment, you should tag your docker images with the commit so we dont have to publish our own reverted versions
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
pip install fails with "connection error: [SSL
pip install is failing no matter the package. For example, > pip install scrapy also results in the SSL error. Vanilla install of...
Read more >PIP connection Error : SSL CERTIFICATE VERIFY FAILED
The most common issue in installing python package in a company's network is failure of verification of SSL Certificate. Sometimes company blocks some...
Read more >How to resolve SSL Certificate Error while installing PIP?
When I'm trying to install PIP using the downloaded package from bootstrap.pypa.io, I'm getting SSL Certificate error.
Read more >Python HelloWorld Script =SSL Certificate Errors
I have some Python to run through a Runbook task For the moment print 'HelloWorld" returns the error: '[SSL: CERTIFICATE_VERIFY_FAILED] ...
Read more >Configure SSL for the GitLab Linux package
key file is password protected, NGINX doesn't ask for the password when you reconfigure GitLab. In that case, Omnibus GitLab fails silently with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We solved this by adding
apt-get update && apt-get install -y apt-transport-https ca-certificatesto our docker file. You should never removeca-certificatesfrom a distro but it seems like it was done by mistake on https://github.com/tiangolo/uwsgi-nginx-docker/commit/062ee99240908b57b759f240b248006e4c822e43#diff-0aaae9c4760d1637b13a4453d8d327f3R82As there were no more comments I’ll assume the issue is solved and close it.