Skip to content

Commit

Permalink
[skip-changelog] Correct Google TLD in certificates flash example c…
Browse files Browse the repository at this point in the history
…ommands (#125)

Previously, the `arduino-fwuploader certificates flash` example commands in the command line help and "Usage"
documentation used the domain `google.cc` for the download of the Google SSL certificate. Although it does work
(`google.cc` redirects to `google.com`), I suspect the use of the `.cc` TLD was accidental, originating from the correct
use of that TLD for the Arduino certificate domain.

The commands are hereby updated to use `google.com`.
  • Loading branch information
per1234 committed Jan 14, 2022
1 parent 382e20d commit c061e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/certificates/flash.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewFlashCommand() *cobra.Command {
Long: "Flashes specified certificates to board at specified address.",
Example: "" +
" " + os.Args[0] + " certificates flash --fqbn arduino:samd:mkr1000 --address COM10 --url arduino.cc:443 --file /home/me/Digicert.cer\n" +
" " + os.Args[0] + " certificates flash -b arduino:samd:mkr1000 -a COM10 -u arduino.cc:443 -u google.cc:443\n" +
" " + os.Args[0] + " certificates flash -b arduino:samd:mkr1000 -a COM10 -u arduino.cc:443 -u google.com:443\n" +
" " + os.Args[0] + " certificates flash -b arduino:samd:mkr1000 -a COM10 -f /home/me/VeriSign.cer -f /home/me/Digicert.cer\n",
Args: cobra.NoArgs,
Run: runFlash,
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ You can also use the `--format json` flag to parse the output with more ease.
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.cc:443
./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
Expand Down

0 comments on commit c061e88

Please sign in to comment.