esp_crt_bundle_attach() function
Attach and enable use of a bundle for certificate verification Attach and enable use of a bundle for certificate verification through a verification callback. If no specific bundle has been set through esp_crt_bundle_set() it will default to the bundle defined in menuconfig and embedded in the binary.
Arguments
conf
The config struct for the SSL connection.
Return value
- ESP_OK if adding certificates was successful. - Other if an error occurred or an action must be taken by the calling process.
esp_crt_bundle_attach() calls 5 functions:
![]()
esp_crt_bundle_attach()
esp_crt_bundle_attach() reads 10 variables:
![]()
esp_crt_bundle_attach()