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

CONFIG_MBEDTLS_HAVE_TIME_DATE

Enable date/time validation in mbed TLS

Type: bool

Help

System has time.h, time(), and an implementation for gmtime_r().
There also need to be a valid time source in the system, as mbedTLS
expects a valid date/time for certificate validation."

Direct dependencies

MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = “config-tls-generic.h” && MBEDTLS && 0

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At modules/mbedtls/Kconfig.tls-generic:357

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

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

config MBEDTLS_HAVE_TIME_DATE
    bool "Enable date/time validation in mbed TLS"
    depends on MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0
    help
      System has time.h, time(), and an implementation for gmtime_r().
      There also need to be a valid time source in the system, as mbedTLS
      expects a valid date/time for certificate validation."

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