From e92677bd3cceb27079d7cb1e3f783d809edea362 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Mon, 26 May 2025 21:09:01 +0530 Subject: [PATCH] doc: wifi: Improve runtime cert docs * Remove the obsolete path reference, command is enough * Add a note for the volatility of the certificates Signed-off-by: Chaitanya Tata --- doc/connectivity/networking/api/wifi.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/connectivity/networking/api/wifi.rst b/doc/connectivity/networking/api/wifi.rst index e480f25a3b8..3a150efc050 100644 --- a/doc/connectivity/networking/api/wifi.rst +++ b/doc/connectivity/networking/api/wifi.rst @@ -73,7 +73,7 @@ Run time certificates The Wi-Fi shell module uses TLS credentials subsystem to store and manage the certificates. The certificates can be added at runtime using the shell commands, see :ref:`tls_credentials_shell` for more details. The sample or application need to enable the :kconfig:option:`CONFIG_WIFI_SHELL_RUNTIME_CERTIFICATES` option to use this feature. -To facilitate installation of the certificates, a helper script is provided in the ``samples/net/wifi/test_certs`` directory. The script can be used to install the certificates at runtime. +To facilitate installation of the certificates, a helper script is provided, see below for usage. .. code-block:: bash @@ -96,6 +96,10 @@ Any AAA server can be used for testing purposes, for example, ``FreeRADIUS`` or The certificates are for testing purposes only and should not be used in production. They are generated using `FreeRADIUS raddb `_ scripts. +.. note:: + + When using TLS credentials subsystem, by default the volatile backend i.e., :kconfig:option:`CONFIG_TLS_CREDENTIALS_BACKEND_VOLATILE` is chosen. When using the volatile backend, the certificates are stored in RAM and are lost on reboot, so the certificates need to be installed again after reboot. As an alternative, the PS (protected storage) backend i.e., :kconfig:option:`CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE` can be used to store the certificates in the non-volatile storage. + API Reference *************