This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
CONFIG_NET_SOCKETS_SOCKOPT_TLS

Enable TCP TLS socket option support [EXPERIMENTAL]

Type: bool

Help

Enable TLS socket option support which automatically establishes a TLS connection to the remote host.

Direct dependencies

NET_SOCKETS && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Symbols implied by this symbol

Symbols that select this symbol

Kconfig definition

At subsys/net/lib/sockets/Kconfig:49

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:22subsys/net/Kconfig:89subsys/net/lib/Kconfig:30

Menu path: (Top) → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API

config NET_SOCKETS_SOCKOPT_TLS
    bool "Enable TCP TLS socket option support [EXPERIMENTAL]"
    select MBEDTLS if NET_NATIVE
    imply TLS_CREDENTIALS
    depends on NET_SOCKETS && NETWORKING
    help
      Enable TLS socket option support which automatically establishes
      a TLS connection to the remote host.

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