nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ NRF_SO_SEC_PEER_VERIFY

#define NRF_SO_SEC_PEER_VERIFY   5

#include <nrf_modem/include/nrf_socket.h>

Configure peer verification level.

See TLS peer verification options for a list of allowed values.

The default value is NRF_SO_SEC_PEER_VERIFY_OPTIONAL (optional).

Note
If a TLS/DTLS protocol is used, there must be at least one root CA in the modem credential storage, regardless if the NRF_SO_SEC_PEER_VERIFY value is NRF_SO_SEC_PEER_VERIFY_NONE or NRF_SO_SEC_PEER_VERIFY_OPTIONAL.