espressif / esp-va-sdk

Espressif's Voice Assistant SDK: Alexa, Google Voice Assistant, Google DialogFlow
Other
292 stars 83 forks source link

Invalid Certificate in esp_crt_bundle/cacrt-all.pem esp_va_sdk v2.0 #158

Open HowardHonig opened 3 years ago

HowardHonig commented 3 years ago

And another issue. Running idf.py flash monitor, the below error was encountered (highlites mine). This could be a result of my previous problem.

[101/104] Linking C static library esp-idf\spi_flash\libspi_flash.a [102/104] Linking C static library esp-idf\main\libmain.a [103/104] Linking C executable bootloader.elf [104/104] Generating binary image from built executable esptool.py v3.1-dev Merged 1 ELF section Generated C:/Users/howar/Documents/Alexa/iot/esp-vaquita/esp-va-sdk/examples/amazon_aia/build/bootloader/bootloader.bin [622/1293] Generating x509_crt_bundle FAILED: esp-idf/mbedtls/x509_crt_bundle cmd.exe /C "cd /D C:\Users\howar\Documents\Alexa\iot\esp-vaquita\esp-va-sdk\examples\amazon_aia\build\esp-idf\mbedtls && C:\Users\howar.espressif\python_env\idf4.2_py3.9_env\Scripts\python.exe C:/Users/howar/AppData/Local/esp-idf/components/mbedtls/esp_crt_bundle/gen_crt_bundle.py --input C:/Users/howar/AppData/Local/esp-idf/components/mbedtls/esp_crt_bundle/cacrt_all.pem -q" gen_crt_bundle.py: Invalid certificate in C:/Users/howar/AppData/Local/esp-idf/components/mbedtls/esp_crt_bundle/cacrt_all.pem Invalid certificate ninja: build stopped: subcommand failed. ninja failed with exit code 1