esp-idf-tools-setup-online-2.11 certificate error

iw2lsi
Posts: 15
Joined: Wed Oct 24, 2018 11:48 am

esp-idf-tools-setup-online-2.11 certificate error

Postby iw2lsi » Wed Oct 13, 2021 8:16 am

Hi all.

anyone else is getting an SSL CERTIFICATE error while trying to install latest esp-idf with the on-line installer ?

Giampaolo




Extracting E:\esp-idf-tools-4_3_1z\.espressif\dist\openocd-esp32-win32-0.10.0-esp32-20210401.zip to E:\esp-idf-tools-4_3_1z\.espressif\tools\openocd-esp32\v0.10.0-esp32-20210401
Installing ninja@1.10.2
Downloading ninja-1.10.2-win64.zip to E:\esp-idf-tools-4_3_1z\.espressif\dist\ninja-1.10.2-win64.zip.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125)>
WARNING: Failed to download https://dl.espressif.com/dl/ninja-1.10.2-win64.zip to E:\esp-idf-tools-4_3_1z\.espressif\dist\ninja-1.10.2-win64.zip.tmp
Downloading ninja-1.10.2-win64.zip to E:\esp-idf-tools-4_3_1z\.espressif\dist\ninja-1.10.2-win64.zip.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125)>
WARNING: Failed to download https://dl.espressif.com/dl/ninja-1.10.2-win64.zip to E:\esp-idf-tools-4_3_1z\.espressif\dist\ninja-1.10.2-win64.zip.tmp
Downloading ninja-1.10.2-win64.zip to E:\esp-idf-tools-4_3_1z\.espressif\dist\ninja-1.10.2-win64.zip.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125)>
WARNING: Failed to download https://dl.espressif.com/dl/ninja-1.10.2-win64.zip to E:\esp-idf-tools-4_3_1z\.espressif\dist\ninja-1.10.2-win64.zip.tmp
ERROR: Failed to download, and retry count has expired
Traceback (most recent call last):
File "E:\esp-idf-4_3_1z\\tools\idf_tools.py", line 1675, in <module>
main(sys.argv[1:])
File "E:\esp-idf-4_3_1z\\tools\idf_tools.py", line 1671, in main
action_func(args)
File "E:\esp-idf-4_3_1z\\tools\idf_tools.py", line 1322, in action_install
tool_obj.download(tool_version)
File "E:\esp-idf-4_3_1z\\tools\idf_tools.py", line 705, in download
raise DownloadError()
__main__.DownloadError

cmumford
Posts: 4
Joined: Fri Dec 11, 2020 4:29 pm

Re: esp-idf-tools-setup-online-2.11 certificate error

Postby cmumford » Sat Oct 16, 2021 11:29 pm

Yes, same thing is happening to me. Haven't found a solution yet. :x

User avatar
ESP_Roland
Posts: 265
Joined: Tue Oct 09, 2018 10:28 am

Re: esp-idf-tools-setup-online-2.11 certificate error

Postby ESP_Roland » Mon Oct 18, 2021 10:25 am

Please follow https://github.com/espressif/esp-idf/issues/7672 to get notified about the resolution.

Until then you can use the offline installer as a workaround. The link is provided in the linked issue.

bobolink
Posts: 98
Joined: Mon Feb 26, 2018 4:17 pm

Re: esp-idf-tools-setup-online-2.11 certificate error

Postby bobolink » Mon Oct 18, 2021 3:14 pm

Maybe something similar for openocd

git clone --recursive https://github.com/espressif/openocd-esp32.git
Cloning into 'openocd-esp32'...
remote: Enumerating objects: 75431, done.
remote: Counting objects: 100% (7189/7189), done.
remote: Compressing objects: 100% (2208/2208), done.
remote: Total 75431 (delta 5652), reused 6385 (delta 4954), pack-reused 68242
Receiving objects: 100% (75431/75431), 19.17 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (61694/61694), done.
Submodule 'jimtcl' (http://repo.or.cz/r/jimtcl.git) registered for path 'jimtcl'
Submodule 'src/jtag/drivers/libjaylink' (http://repo.or.cz/r/libjaylink.git) registered for path 'src/jtag/drivers/libjaylink'
Submodule 'tools/git2cl' (http://repo.or.cz/r/git2cl.git) registered for path 'tools/git2cl'
Cloning into '/home/pi/openocd-esp32/jimtcl'...
fatal: unable to access 'http://repo.or.cz/r/jimtcl.git/': server certificate verification failed. CAfile: none CRLfile: none
fatal: clone of 'http://repo.or.cz/r/jimtcl.git' into submodule path '/home/pi/openocd-esp32/jimtcl' failed
Failed to clone 'jimtcl'. Retry scheduled
Cloning into '/home/pi/openocd-esp32/src/jtag/drivers/libjaylink'...
fatal: unable to access 'http://repo.or.cz/r/libjaylink.git/': server certificate verification failed. CAfile: none CRLfile: none
fatal: clone of 'http://repo.or.cz/r/libjaylink.git' into submodule path '/home/pi/openocd-esp32/src/jtag/drivers/libjaylink' failed
Failed to clone 'src/jtag/drivers/libjaylink'. Retry scheduled
Cloning into '/home/pi/openocd-esp32/tools/git2cl'...
fatal: unable to access 'http://repo.or.cz/r/git2cl.git/': server certificate verification failed. CAfile: none CRLfile: none
fatal: clone of 'http://repo.or.cz/r/git2cl.git' into submodule path '/home/pi/openocd-esp32/tools/git2cl' failed
Failed to clone 'tools/git2cl'. Retry scheduled
Cloning into '/home/pi/openocd-esp32/tools/git2cl'...
fatal: unable to access 'http://repo.or.cz/r/git2cl.git/': server certificate verification failed. CAfile: none CRLfile: none
fatal: clone of 'http://repo.or.cz/r/git2cl.git' into submodule path '/home/pi/openocd-esp32/tools/git2cl' failed
Failed to clone 'tools/git2cl' a second time, aborting
Cloning into '/home/pi/openocd-esp32/jimtcl'...
fatal: unable to access 'http://repo.or.cz/r/jimtcl.git/': server certificate verification failed. CAfile: none CRLfile: none
fatal: clone of 'http://repo.or.cz/r/jimtcl.git' into submodule path '/home/pi/openocd-esp32/jimtcl' failed
Failed to clone 'jimtcl' a second time, aborting
Cloning into '/home/pi/openocd-esp32/src/jtag/drivers/libjaylink'...
fatal: unable to access 'http://repo.or.cz/r/libjaylink.git/': server certificate verification failed. CAfile: none CRLfile: none
fatal: clone of 'http://repo.or.cz/r/libjaylink.git' into submodule path '/home/pi/openocd-esp32/src/jtag/drivers/libjaylink' failed
Failed to clone 'src/jtag/drivers/libjaylink' a second time, aborting

Who is online

Users browsing this forum: No registered users and 154 guests