The latest ESP32 Arduino Core (1.0.6 and above) requires a call to SecureWiFiClient.setCACert() for TLS/SSL connections. The secure wifi client in previous versions didn’t require this function to be called in order to establish a connection with Adafruit IO's MQTT server.
This pull request adds a new usage example for connecting to Adafruit IO with an ESP32 (or ESP32-S2).
The latest ESP32 Arduino Core (1.0.6 and above) requires a call to
SecureWiFiClient.setCACert()
for TLS/SSL connections. The secure wifi client in previous versions didn’t require this function to be called in order to establish a connection with Adafruit IO's MQTT server.This pull request adds a new usage example for connecting to Adafruit IO with an ESP32 (or ESP32-S2).
Addresses: https://github.com/adafruit/Adafruit_MQTT_Library/issues/191