Im am using the universal online installer for IDF tools from : https://dl.espressif.com/dl/esp-idf/?idf=4.4
Version: 2.16
The installation exits with error code 1 as a result of the python component of the installation failing. Here is the snippet from the installation logs:
"WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)'))': /simple/click/"
When performing any type of Python installation or update, I cannot simply run the "py -m install x" command and need to instead run the command with added paramters as follows: "py -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org x"
I believe this same fix would ensure that the IDF tools installation would complete succesfully. Is there a way to add these paratmers to the idf-tools.py script that is running these installs/updates?
IDF Tools installation - Python SSL: CERTIFICATE_VERIFY_FAILED
-
JRBonarius
- Posts: 1
- Joined: Tue Nov 08, 2022 6:24 am
IDF Tools installation - Python SSL: CERTIFICATE_VERIFY_FAILED
- Attachments
-
- Setup Log 2022-11-08 #002.txt
- (54.53 KiB) Downloaded 390 times
Re: IDF Tools installation - Python SSL: CERTIFICATE_VERIFY_FAILED
Honestly, that sounds like there's much more wrong with your setup. There's no reason you should normally have to bypass cert verification for a host like that.
Re: IDF Tools installation - Python SSL: CERTIFICATE_VERIFY_FAILED
The issue is with your Windows' certificates. Please search the manuals how to update it.
The workaround is to download and use the offline installer. Modern browsers use their own set of certificates independently from the ones provided by Windows.
The workaround is to download and use the offline installer. Modern browsers use their own set of certificates independently from the ones provided by Windows.
-
annayshayma
- Posts: 1
- Joined: Thu Apr 17, 2025 7:42 am
Re: IDF Tools installation - Python SSL: CERTIFICATE_VERIFY_FAILED
The SSL issue related to Python that you are facing, you can check it out at:- https://cheapsslweb.com/blog/ssl-certif ... in-python/. May you also find the solution to it.
I hope it helps!
I hope it helps!
Who is online
Users browsing this forum: Baidu [Spider], ChatGPT-User, Google [Bot] and 2 guests
