certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
See original GitHub issueHi, I’m using this library. everything works fine when I dockerize my app and run the docker image. But if I try to run my project locally, I get this error:
RuntimeError: Unable to fetch provider information. Cannot connect to host login.microsoftonline.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')]
How come it works when running via docker image locally, but not without it? The only difference I can see is that image is running on Linux while locally I’m using MacOS. Can you please guide me how to solve this? Also sorry if I’m asking this here, I couldn’t find a solution out there!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
certificate verify failed: unable to get local issuer certificate
But, I believe, this avoids checking SSL certificate. So I checked on the internet and found one solution: Run /Applications/Python\ 3.7/Install ...
Read more >certificate verify failed: unable to get local issuer certificate #29
It seems that, for some reason, Brew has not run the Install Certificates.command that comes in the Python3 bundle for Mac.
Read more >SSL cerfrificaion problem: 'unable to get local issuer certificate'
The 'unable to get local issuer certificate' is a common SSL error faced by devs trying to push, pull, or clone a git...
Read more >unable to get local issuer certificate (_ssl.c:1129) - You.com
Bug. urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.
Read more >SSL certificate problem: Unable to get local issuer certificate
A Self-signed certificate cannot be verified. Default GIT crypto backend (Windows clients). Resolution. Resolution #1 - Self Signed certificate. Workaround.
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
Awesome! Happy coding! 🚀
The
3
in that URL should be the entire tenant ID. The URL should also work directly in the browser.