feat(esp_http_client): Allow cert bundle attach for wolfssl (IDFGH-16563) #17680
+9
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is the third in a series of pull requests to improve wolfSSL integration with the ESP-IDF as proposed in #16145
As there are multiple changes there, it was suggested that I break the update into smaller pieces.
This PR updates the requirements for wolfSSL in the
components/esp_http_client/esp_http_client.c
Related
See:
Testing
The fully-implemented update is on my wolfssl-dev branch. I've been testing with this esp_http_client_example.
See also the published wolfSSL Managed component that already includes the Certificate Bundle feature introduced in wolfSSL/wolfssl#7936
Checklist
Before submitting a Pull Request, please ensure the following:
Note
Enable certificate bundle attach for wolfSSL alongside mbedTLS with provider-specific config checks and error messages.
components/esp_http_client/esp_http_client.c
):esp_transport_ssl_crt_bundle_attach
when eitherCONFIG_MBEDTLS_CERTIFICATE_BUNDLE
orCONFIG_WOLFSSL_CERTIFICATE_BUNDLE
is set.WOLFSSL_CERTIFICATE_BUNDLE
,MBEDTLS_CERTIFICATE_BUNDLE
, or selecting a crypto provider (CONFIG_ESP_TLS_USING_WOLFSSL
orCONFIG_ESP_TLS_USING_MBEDTLS
).Written by Cursor Bugbot for commit 482c7d6. This will update automatically on new commits. Configure here.