File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,10 @@ class AdafruitIOGroupCallback {
115115#define AIO_ERROR_TOPIC " /errors" // /< Adafruit IO Error MQTT Topic
116116#define AIO_THROTTLE_TOPIC " /throttle" // /< Adafruit IO Throttle MQTT Topic
117117
118- // latest fingerprint can be generated with
118+ // io.adafruit.com TLS/SSL certificate changes every 6months, and pinning
119+ // certificates is no longer recommended. Migrate to a larger MCU like esp32
120+ // which can accomodate root certificates and verify chains of trust. For
121+ // older devices like esp8266 you can generate the latest fingerprint with:
119122// echo | openssl s_client -connect io.adafruit.com:443 | openssl x509
120123// -fingerprint -noout
121124#define AIO_SSL_FINGERPRINT \
Original file line number Diff line number Diff line change 2525/* NOTE - Projects that require "Secure MQTT" (TLS/SSL) also require a new
2626 * SSL certificate every year. If adding Secure MQTT to your ESP8266 project is
2727 * important - please switch to using the modern ESP32 (and related models)
28- * instead of the ESP8266 to avoid updating the SSL fingerprint every year .
28+ * instead of the ESP8266 to avoid updating the SSL fingerprint every 6months .
2929 *
3030 * If you've read through this and still want to use "Secure MQTT" with your
3131 * ESP8266 project, we've left the "WiFiClientSecure" lines commented out. To
3232 * use them, uncomment the commented out lines within `AdafruitIO_ESP8266.h` and
33- * `AdafruitIO_ESP8266.cpp` and recompile the library.
33+ * `AdafruitIO_ESP8266.cpp`, update fingerprint in `AdafruitIO_Definitions.h`,
34+ * and then recompile the library.
3435 */
3536// #include "WiFiClientSecure.h"
3637
You can’t perform that action at this time.
0 commit comments