Files
wlan-ucentral-schema/command
Paul White b4cfdc6a1c cmd_upgrade: implement secure download
This implements secure download by adding additional fields to the
upgrade command payload:

  - use-local-certificates (boolean): When provided, enables secure download
    and if true uses built-in certificates, if false requires below fields
  - ca-certificate (string): base64 encoded cas.pem
  - certificate (string): base64 encoded cert.pem
  - private-key (string): base64 encoded key.pem

The following additional changes are included:
  - Switches from wget to curl for downloading as curl supports using
    certificates and in general seems more reliable
  - An automatic download retry was added before reporting the failure
  - When download fails, provides both exit code & http code to the cloud

Fixes: WIFI-14643
Signed-off-by: Paul White <paul@shasta.cloud>
2025-05-26 16:17:29 +02:00
..
2024-05-14 15:37:02 +02:00
2024-09-16 16:03:45 +02:00
2023-05-16 14:05:50 +02:00
2023-09-28 14:52:40 +02:00
2025-04-30 07:59:29 +02:00