CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
Give acces to peer certificate after handshake
Type: bool
Help
Provides mbedtls_ssl_get_peer_cert() the ability to give the
peer's certificate after completion of handshake. Disabling this
reduces RAM usage.
Corresponds to MBEDTLS_SSL_KEEP_PEER_CERTIFICATE in mbed TLS config file.
Direct dependencies
MBEDTLS_TLS_LIBRARY
&& NRF_SECURITY
(Includes any dependencies from ifs and menus.)
Default
y
Kconfig definition
At <nrfxlib>/nrf_security/Kconfig.tls:218
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:92
→ <nrfxlib>/Kconfig.nrfxlib:13
→ <nrfxlib>/nrf_security/Kconfig:105
Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → nrf_security module → Create mbed TLS transport layer security library
config MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
bool "Give acces to peer certificate after handshake"
default y
depends on MBEDTLS_TLS_LIBRARY && NRF_SECURITY
help
Provides mbedtls_ssl_get_peer_cert() the ability to give the
peer's certificate after completion of handshake. Disabling this
reduces RAM usage.
Corresponds to MBEDTLS_SSL_KEEP_PEER_CERTIFICATE in mbed TLS config file.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)