Skip to content

Commit 8e0bff5

Browse files
authored
docs(ssl): improve comment format for fingerprint updates
1 parent adb267c commit 8e0bff5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/AdafruitIO_Definitions.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ 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-
// 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:
122-
// echo | openssl s_client -connect io.adafruit.com:443 | openssl x509
123-
// -fingerprint -noout
118+
/* NB: 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. */
121+
/* For older devices like ESP8266 you can generate the latest fingerprint with:
122+
echo | openssl s_client -connect io.adafruit.com:443 | openssl x509 -fingerprint -noout
123+
*/
124124
#define AIO_SSL_FINGERPRINT \
125125
"47 D2 CB 14 DF 38 97 59 C6 65 1A 1F 3E 00 1E 53 CC A5 17 E0" ///< Latest
126126
///< Adafruit IO

0 commit comments

Comments
 (0)