CONFIG_NET_SOCKETS_TLS_MAX_CREDENTIALS

Maximum number of TLS/DTLS credentials per socket

Type: int

Help

This variable sets maximum number of TLS/DTLS credentials that can be
used with a specific socket.

Direct dependencies

NET_SOCKETS_SOCKOPT_TLS && NET_SOCKETS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 4

Kconfig definition

At <Zephyr Subsystem>/net/lib/sockets/Kconfig:109

Included via Kconfig:8Kconfig.zephyr:44<Zephyr Subsystem>/Kconfig:39<Zephyr Subsystem>/net/Kconfig:89<Zephyr Subsystem>/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

config NET_SOCKETS_TLS_MAX_CREDENTIALS
    int "Maximum number of TLS/DTLS credentials per socket"
    default 4
    depends on NET_SOCKETS_SOCKOPT_TLS && NET_SOCKETS && NETWORKING
    help
      This variable sets maximum number of TLS/DTLS credentials that can be
      used with a specific socket.

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