I’ve just installed PIO core (CLI) on the Ubuntu 14 with Python 3.4.6 (the latest one you can have for Ubuntu 14).
PIO itself works, but when I try to compile anything, I get an error during downloading from the registry:
pio run
Processing d1_mini (platform: espressif32; board: esp-wrover-kit; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing espressif32
Error: HTTPSConnectionPool(host='api.registry.ns1.platformio.org', port=443): Max retries exceeded with url: /v3/packages?query=type%3A%22platform%22+name%3A%22espressif32%22 (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))
Is there any way to disable SSL checks?
Regards,
P.
[EDIT]
export CURL_CA_BUNDLE=""
seems to do the trick but disables in all Python environments. Is there a way to disable it just for the platformio solely?