:orphan: .. title:: NET_SOCKETS_SOCKOPT_TLS .. option:: CONFIG_NET_SOCKETS_SOCKOPT_TLS *Enable TCP TLS socket option support [EXPERIMENTAL]* Type: ``bool`` Help ==== .. code-block:: none Enable TLS socket option support which automatically establishes a TLS connection to the remote host. Direct dependencies =================== \ :option:`NET_SOCKETS ` && \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :option:`MBEDTLS ` if \ :option:`NET_NATIVE ` Symbols implied by this symbol ============================== - \ :option:`TLS_CREDENTIALS ` Symbols that select this symbol =============================== - \ :option:`UPDATEHUB_DTLS ` - \ :option:`LWM2M_DTLS_SUPPORT ` Kconfig definition ================== At ``/net/lib/sockets/Kconfig:57`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``/Kconfig:39`` → ``/net/Kconfig:89`` → ``/net/lib/Kconfig:30`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API .. code-block:: kconfig 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.)*