GoogleCloudPlatform / google-cloud-iot-arduino

Google Cloud IOT Example on ESP8266

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 root certificate usage

tyczj opened this issue · comments

commented

In the Esp32-lwmqtt example where is the root_cert being used? I don't see anywhere in the code that it is referenced so I dont know how to set it

Same here. curious if I can use code from esp8266 example?

It does not seem to be required by CIOTC that you set the certificate. But if you want to then you need to set it on the WiFiClientSecure instance: https://github.com/espressif/arduino-esp32/tree/master/libraries/WiFiClientSecure