Chapter 2. API Reference
CONFIG_MBEDTLS_DEBUG
Enable mbedTLS debugging
Found in:
Component config
Enable mbedTLS debugging functions at compile time.
If
this
option
mbedtls_esp_enable_debug_log() at runtime in order to enable mbedTLS debug output via the
ESP log mechanism.
Default value:
• No (disabled)
CONFIG_MBEDTLS_DEBUG_LEVEL
Set mbedTLS debugging level
Found in:
Component config
Set mbedTLS debugging level
Available options:
• Warning (MBEDTLS_DEBUG_LEVEL_WARN)
• Info (MBEDTLS_DEBUG_LEVEL_INFO)
• Debug (MBEDTLS_DEBUG_LEVEL_DEBUG)
• Verbose (MBEDTLS_DEBUG_LEVEL_VERBOSE)
Certificate Bundle
Contains:
•
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE
Enable trusted root certificate bundle
Found in:
Component config
Enable support for large number of default root certificates
When enabled this option allows user to store default as well as customer specific root certificates in
compressed format rather than storing full certificate. For the root certificates the public key and the
subject name will be stored.
Default value:
• Yes (enabled)
CONFIG_MBEDTLS_DEFAULT_CERTIFICATE_BUNDLE
Default certificate bundle options
Found
in:
Component
FIG_MBEDTLS_CERTIFICATE_BUNDLE
Available options:
• Use the full default certificate bundle (MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL)
• Use
only
(MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN)
Use only the most common certificates from the default bundles, reducing the size with 50%,
while still having around 99% coverage.
• Do not use the default certificate bundle (MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE)
Espressif Systems
>
mbedTLS
is
enabled,
you
can
>
mbedTLS
>
CONFIG_MBEDTLS_DEBUG
>
mbedTLS
>
Certificate Bundle
config
>
the
most
common
1187
Submit Document Feedback
include
"mbedtls/esp_debug.h"and
mbedTLS
>
Certificate
certificates
from
call
Bundle
>
CON-
the
default
bundles
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?