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 NetworkClientSecure lib uses esp_crt_bundle_attach() inside attach_ssl_certificate_bundle. Also during connection start_ssl_client if we pass useRootCABundle true then it will use the cb set by attach_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
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