乐鑫技术交流
直播中

赵辉

12年用户 904经验值
私信 关注
[问答]

编译hello world出 Invalid certificate后报错的原因?如何解决?

我使用的是esp32-s2 cpu,按照编程指南快速入门操作,下载的idf-4.3.1版本,最后编译时出现如下错误:

-- Configuring done

-- Generating done

-- Build files have been written to: /home/uwin/esp32kit/hello_world/build/bootloader

ninja: no work to do.

[292/604] Generating x509_crt_bundle

FAILED: cd /home/uwin/esp32kit/hello_world/build/esp-idf/mbedtls && /root/.espressif/python_env/idf4.3_py3.8_env/bin/python /home/uwin/esp32kit/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py --input /home/uwin/esp32kit/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem -q

gen_crt_bundle.py: Invalid certificate in /home/uwin/esp32kit/esp-idf-v4.3.1/components/mbedtls/esp_crt_bundle/cacrt_all.pem

Invalid certificate

ninja: build stopped: subcommand failed.

ninja failed with exit code 1

root@quantum-ubuntu:/home/uwin/esp32kit/hello_world#



这要怎么解决,谢谢

更多回帖

发帖
×
20
完善资料,
赚取积分