But that’s a different error now, try resolving it via Problems building with ESP-IDF latest version (4.3.0) - #4 by maxgerhardt.
(The file should be locally in <home folder>/.platformio/packages/framework-espidf/components/mbedtls/esp_crt_bundle/cacrt_all.pem
)