Skip to content

Commit dcbef34

Browse files
committed
Revert "[nrf fromlist] samples: net: wifi: Add two variants of certs"
This reverts commit 9679838. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 67947fa commit dcbef34

File tree

18 files changed

+14
-265
lines changed

18 files changed

+14
-265
lines changed

doc/connectivity/networking/api/wifi.rst

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -42,31 +42,16 @@ Test certificates in PEM format are committed to the repo at :zephyr_file:`sampl
4242
build process the certificates are converted to a C header file that is included by the Wi-Fi shell
4343
module.
4444

45-
If you want to use your own certificates, you can replace the existing certificates with your own certificates in the same directory.
46-
4745
.. code-block:: bash
4846
49-
$ export WIFI_TEST_CERTS_DIR=samples/net/wifi/test_certs/rsa3k
50-
$ cp client.pem $WIFI_TEST_CERTS_DIR
51-
$ cp client-key.pem $WIFI_TEST_CERTS_DIR
52-
$ cp ca.pem $WIFI_TEST_CERTS_DIR
53-
$ cp client2.pem $WIFI_TEST_CERTS_DIR
54-
$ cp client-key2.pem $WIFI_TEST_CERTS_DIR
55-
$ cp ca2.pem $WIFI_TEST_CERTS_DIR
47+
$ cp client.pem samples/net/wifi/test_certs/
48+
$ cp client-key.pem samples/net/wifi/test_certs/
49+
$ cp ca.pem samples/net/wifi/test_certs/
50+
$ cp client2.pem samples/net/wifi/test_certs/
51+
$ cp client-key2.pem samples/net/wifi/test_certs/
52+
$ cp ca2.pem samples/net/wifi/test_certs/
5653
$ west build -p -b <board> samples/net/wifi -S wifi-enterprise
5754
58-
or alternatively copy ``rsa2k`` certificates by changing the ``WIFI_TEST_CERTS_DIR`` environment variable.
59-
60-
.. code-block:: bash
61-
62-
$ export WIFI_TEST_CERTS_DIR=samples/net/wifi/test_certs/rsa2k
63-
64-
or you can set the :envvar:`WIFI_TEST_CERTS_DIR` environment variable to point to the directory containing your certificates.
65-
66-
.. code-block:: bash
67-
68-
$ west build -p -b <board> samples/net/wifi -S wifi-enterprise -- -DWIFI_TEST_CERTS_DIR=<path_to_your_certificates>
69-
7055
Run time certificates
7156
---------------------
7257

File renamed without changes.
File renamed without changes.

samples/net/wifi/test_certs/rsa2k/ca.pem

Lines changed: 0 additions & 29 deletions
This file was deleted.

samples/net/wifi/test_certs/rsa2k/ca2.pem

Lines changed: 0 additions & 29 deletions
This file was deleted.

samples/net/wifi/test_certs/rsa2k/client-key.pem

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)