Replies: 2 comments
-
|
@me-no-dev PTAL |
Beta Was this translation helpful? Give feedback.
-
|
This looks like an API gap rather than something you're missing. In ESP-IDF, the “built-in” certificate bundle is not a ROM/system trust store; it is generated and embedded into the application by Kconfig, then attached with As implemented in client.setCACertBundle(bundle, size);That calls For normal Arduino sketches, the practical options are:
A clean API addition would probably be a no-arg overload or explicit method that only attaches the existing default bundle callback, without calling client.setBuiltinCACertBundle();Internally that would just enable If my answer solved your problem, you can click answered the question. I'm really here to help, and along the way I'm also collecting Galaxy Brain badges haha 😆 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Board
ESP32 Dev Module
Device Description
ESP32 DevKitc V4 - plain module
Hardware Configuration
No
Version
v3.3.10
Type
Question
IDE Name
VSCode
Operating System
Linux
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
API for using cert bundle requires *bundle and size (expecting application to provide a cert bundle) but i want to use the builtin cert bundle
While looking i saw that
NetworkClientSecurelib usesesp_crt_bundle_attach()insideattach_ssl_certificate_bundle. Also during connectionstart_ssl_clientif we passuseRootCABundletrue then it will use the cb set byattach_ssl_certificate_bundle. I wanted to use the builtin cert bundle but i can't find a way with the current API for the same. Is this intended design and i'm missing something here?Sketch
Debug Message
Other Steps to Reproduce
N.A.
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions