The latest development version of this page may be more current than this released 1.14.1 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 if’s 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:51

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:24subsys/net/Kconfig:84subsys/net/lib/Kconfig:29

Menu path: (top menu) → Networking → Network Libraries → BSD Sockets compatible API

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

(Definitions include propagated dependencies, including from if’s and menus.)