esp_crt_bundle_set() function
Set the default certificate bundle used for verification Overrides the default certificate bundle only in case of successful initialization. In most use cases the bundle should be set through menuconfig. The bundle needs to be sorted by subject name since binary search is used to find certificates.
Arguments
x509_bundle
A pointer to the certificate bundle.
bundle_size
Size of the certificate bundle in bytes.
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_set() calls 1 function:
![]()
esp_crt_bundle_set()
esp_crt_bundle_set():
![]()
esp_crt_bundle_set()