The latest development version of this page may be more current than this released 2.1.0 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 that select this symbol

Kconfig definition

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

Included via Kconfig:8Kconfig.zephyr:41subsys/Kconfig:22subsys/net/Kconfig:82subsys/net/lib/Kconfig:28

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 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.)