Uploading OTA Packages to a Darksite Trust Center¶
Because Darksite Trust Centers cannot connect to the external internet, Over-the-air (OTA) updates cannot be retrieved automatically. Therefore, the process for uploading OTA packages differs slightly, as described here.
Consequently, the following steps must be performed before uploading the OTA packages to the Darksite Trust Center:
- The token required to download the firmware must be first obtained from the website.
- Firmware packages must be downloaded from an internet-connected Trust Center.
The trust-center-ctl
command is used for downloading the firmware packages on the internet-connected Linux host, as well uploading the firmware on the Darksite Trust Center.
-
Go to the Anyware Trust Center Download site and click Log in to download. Sign in using your HP Account credentials (if you are not already logged in).
-
After logging in, navigate to Downloads and scripts > Darksite OTA update tokens, and click Generate upgrade token to obtain the time-limited token for the firmware of your interest.
-
Copy the token to a text file.
-
To list the firmware available to download into your Trust Center, run this command on the internet-connected Trust Center:
sudo ./trust-center-ctl firmware list --token {token}
-
On the internet-connected Trust Center, run the following command to download firmware:
sudo ./trust-center-ctl firmware download --token <token> <version>
-
Copy the tc_firmware.tar.gz file to the Darksite Trust Center.
-
On the Darksite Trust Center, run the following command to upload firmware (use
--help
to see available flags):sudo ./trust-center-ctl firmware upload --file tc_firmware.tar.gz --ca-file tc-api-ca.crt --fqdn <Trust Center FQDN>
Info
This command uploads the firmware, and also saves the CA certificate to the
tc-api-ca.crt
file. If you do not see the certificate at this file, run the following command to obtain it:sudo ./trust-center-ctl get-api-ca