-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
FAILED: esp-idf/mbedtls/x509_crt_bundle (IDFGH-5972) #7660
Comments
Can you please try fix from #7632? We are integrating this fix (till v4.2 release) internally. Please see #7631 (comment) for more details. |
@mahavirj Thank you for responding, Do you have a TM when it will be available on V4.2 then V4.3? |
Fix has been merged internally till v4.2 branch, it shall appear on github in next few days. Process to sync with github is automated based on successful CI pass event but in case it takes longer we will consider an option to manually push out the fix. |
I tested it with the release tagged with v4.3.1 and the issue still occurs. |
@Sn0wfreezeDev Definitely, the fix will be included in the next bugfix release of each branch, in this case 4.3.2. Our QA is currently testing 4.3.2 and we plan to release it as soon as the testing is finished. |
I tried getting the latest certdata.txt and converted it with mk-ca-bundle, still gen_crt_bundle.py fails. I noticed that the cert #43 is the one making the script fail.
Adding this "if" worked around the problem |
Environment
Problem Description
Fresh install does not compile and breaks at step +- 633
[633/1003] Generating x509_crt_bundle
FAILED: esp-idf/mbedtls/x509_crt_bundle
cmd.exe /C "cd /D C:\esp\esp-idf\examples\get-started\hello_world\build\esp-idf\mbedtls && C:\esp\tools.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/esp/esp-idf/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py --input C:/esp/esp-idf/components/mbedtls/esp_crt_bundle/cacrt_all.pem -q"
gen_crt_bundle.py: Invalid certificate in C:/esp/esp-idf/components/mbedtls/esp_crt_bundle/cacrt_all.pem
Invalid certificate
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Expected Behavior
fresh installs should compile
Actual Behavior
Brocken build
Steps to reproduce
from #7621
However that issue is marked as closed. I can confirm that doing a clean install with 4.3 or master gives the exact same error.
Sure, I know how to hack it to get it to work but, I have a lot of people I train on the ESP32 relying on the process being simple. Newcomers get stuck and go into despair pretty quickly. I was hoping for an update on when the issue would be resolved
The text was updated successfully, but these errors were encountered: