This shows you the differences between two versions of the page.
|
iothings:laboratoare:2025:lab9 [2025/11/23 12:58] dan.tudose [4.4 chart.umd.min.js] |
iothings:laboratoare:2025:lab9 [2025/11/23 13:43] (current) dan.tudose [3. ESP32-C6 Sparrow Firmware (HTTPS + BME680 + NeoPixel)] |
||
|---|---|---|---|
| Line 189: | Line 189: | ||
| * ''WiFiClientSecure'' for HTTPS. | * ''WiFiClientSecure'' for HTTPS. | ||
| - | * For simplicity we will call ''setInsecure()'' (it still uses TLS but skips certificate validation). | + | * We have embedded a proper CA certificate. |
| - | *For production, embed proper CA certificates.* | + | * The certificate is the full Google TLS root (GTS Root R1, cross-signed by GlobalSign) captured from a live identitytoolkit.googleapis.com chain and reverted to setCACert using that PEM |
| Line 258: | Line 258: | ||
| ==== 4.4 chart.umd.min.js ==== | ==== 4.4 chart.umd.min.js ==== | ||
| - | Create ''dashboard/public/chart.umd.min.js''. You need this for rendering the charts locally. The code is [[iothings:laboratoare:2025_code:lab9_4|here]]. | + | Create ''dashboard/public/chart.umd.min.js''. You need this for rendering the charts locally. |
| + | |||
| + | The code is [[iothings:laboratoare:2025_code:lab9_4|here]]. | ||
| ===== 5. Deploy Dashboard with Firebase Hosting ===== | ===== 5. Deploy Dashboard with Firebase Hosting ===== | ||