You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add clear, step-by-step guide for generating test certificates using
FreeRADIUS scripts, including file renaming and usage notes.
Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Copy file name to clipboardExpand all lines: doc/connectivity/networking/api/wifi.rst
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,54 @@ Any AAA server can be used for testing purposes, for example, ``FreeRADIUS`` or
115
115
116
116
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.
117
117
118
+
How to Generate Test Certificates Using FreeRADIUS
The test certificates in ``samples/net/wifi/test_certs/rsa2k`` are generated using the `FreeRADIUS raddb/certs scripts <https://github.com/FreeRADIUS/freeradius-server/tree/master/raddb/certs>`_. You can generate your own certificates for testing as follows:
122
+
123
+
1. **Prerequisites**
124
+
- Install OpenSSL and GNU Make.
125
+
- Download the `FreeRADIUS raddb/certs directory <https://github.com/FreeRADIUS/freeradius-server/tree/master/raddb/certs>`_.
126
+
127
+
2. **Edit the Makefile**
128
+
In the ``raddb/certs`` directory, edit the ``Makefile`` to add ``-nodes`` to the OpenSSL commands for server and client keys. This ensures the private keys are not password-protected (Zephyr Wi-Fi shell does not support private key passwords):
Copy file name to clipboardExpand all lines: doc/releases/release-notes-4.2.rst
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -189,6 +189,7 @@ New APIs and options
189
189
* Wi-Fi
190
190
191
191
* :kconfig:option:`CONFIG_WIFI_USAGE_MODE`
192
+
* Added a new section to the Wi-Fi Management documentation (``doc/connectivity/networking/api/wifi.rst``) with step-by-step instructions for generating test certificates for Wi-Fi using FreeRADIUS scripts. This helps users reproduce the process for their own test environments.
0 commit comments