The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_MBEDTLS_CFG_FILE

mbed TLS configuration file

Type: string

Help

Use a specific mbedTLS configuration file. The default config file
file can be tweaked with Kconfig. The default configuration is
suitable to communicate with majority of HTTPS servers on the Internet,
but has relatively many features enabled. To optimize resources for
special TLS usage, use available Kconfig options, or select an
alternative config.

Direct dependencies

MBEDTLS_BUILTIN && MBEDTLS && 0

(Includes any dependencies from ifs and menus.)

Default

  • “config-tls-generic.h”

Kconfig definition

At modules/mbedtls/Kconfig:50

Included via Kconfig:8Kconfig.zephyr:33modules/Kconfig:74

Menu path: (Top) → Modules → mbed TLS Support → Custom mbed TLS configuration file

config MBEDTLS_CFG_FILE
    string "mbed TLS configuration file" if CUSTOM_MBEDTLS_CFG_FILE
    default "config-tls-generic.h"
    depends on MBEDTLS_BUILTIN && MBEDTLS && 0
    help
      Use a specific mbedTLS configuration file. The default config file
      file can be tweaked with Kconfig. The default configuration is
      suitable to communicate with majority of HTTPS servers on the Internet,
      but has relatively many features enabled. To optimize resources for
      special TLS usage, use available Kconfig options, or select an
      alternative config.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)