You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arduino 3.x now supports bundled root certificates, which means 99% of sites (including github.com) will work over https and you don't need to maintain a custom certificate on your firmware.
334
+
335
+
To enable this functionality, simply call this during your setup:
336
+
337
+
```C++
338
+
esp32FOTA.useBundledCerts();
339
+
```
340
+
341
+
If you are using Platformio / PIOArduino, the certificates are not automatically bundled and you will need to download them from [CURL](https://curl.se/docs/caextract.html).
342
+
343
+
Save that file to your project root directory and then add this line to your platformio.ini:
344
+
345
+
```board_build.embed_txtfiles=ca_cert_bundle```
346
+
347
+
Make sure it is named exactly ca_cert_bundle with no extension and located in the top level of your project.
348
+
349
+
#### Custom Certificates
350
+
331
351
Certificates and signatures can be stored in different places: any fs::FS filesystem or progmem as const char*.
Copy file name to clipboardExpand all lines: library.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "esp32FOTA",
3
-
"version": "0.2.9",
3
+
"version": "0.3.0",
4
4
"keywords": "firmware, OTA, Over The Air Updates, ArduinoOTA",
5
5
"description": "Allows for firmware to be updated from a webserver, the device can check for updates at any time. Uses a simple JSON file to outline if a new firmware is avaiable.",
0 commit comments