From 994afa79d7dbce548aba28d97bda49b90be73a0a Mon Sep 17 00:00:00 2001 From: Umberto Baldi Date: Tue, 22 Feb 2022 18:28:38 +0100 Subject: [PATCH 1/2] expand the documentation regarding the certificates flashing --- docs/usage.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/usage.md b/docs/usage.md index 36a1ead3..e362f8a6 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -74,7 +74,14 @@ The tool offers also the ability to flash SSL certificates to a module: ./arduino-fwuploader certificates flash -b arduino:samd:nano_33_iot" -a COM10 -u arduino.cc:443 -u google.com:443 ``` -or you can specify a path to a file with `-f` instead of the URL of the certificate +or you can specify a path to a file in `.der` format with `-f` instead of the URL of the certificate + +Due to a limitation on the handling of certs in the Nina modules, when `certificates flash` command is launched, all the +previous certificates are going to be erased. To overcome this it's recommended to upload them all together: + +``` +./arduino-fwuploader certificates flash --url arduino.cc:443,google.com:443 --file ~/Downloads/my_self_signed_.der -b arduino:mbed_nano:nanorp2040connect -a /dev/ttyACM0 +``` ### Command line options From 60dc7ecba5cbca5413ae409acfc6362780087a8a Mon Sep 17 00:00:00 2001 From: Umberto Baldi <34278123+umbynos@users.noreply.github.com> Date: Wed, 23 Feb 2022 11:11:03 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: per1234 --- docs/usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index e362f8a6..2da6cb42 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -76,8 +76,8 @@ The tool offers also the ability to flash SSL certificates to a module: or you can specify a path to a file in `.der` format with `-f` instead of the URL of the certificate -Due to a limitation on the handling of certs in the Nina modules, when `certificates flash` command is launched, all the -previous certificates are going to be erased. To overcome this it's recommended to upload them all together: +Due to a limitation on the handling of certs in the NINA modules, when `certificates flash` command is launched, all the +previous certificates are going to be erased. To overcome this it's required to upload them all together: ``` ./arduino-fwuploader certificates flash --url arduino.cc:443,google.com:443 --file ~/Downloads/my_self_signed_.der -b arduino:mbed_nano:nanorp2040connect -a /dev/ttyACM0