System -> Administration -> System Updates fails with the following error: Error fetching public key from file, cannot proceed to validate the signed bundle"
https://<hcx-manager-ip-fqdn>:9443), when navigating to Administration > Upgrade > Upgrade > Choose File and attempting the upgrade, it fails with the same error as mentioned above.
appliance-management.log under /common/logs/appliance-management/2024-07-26 05:35:59.280 UTC [https-jsse-nio-9443-exec-8, , ] WARN c.g.jsonrpc4j.JsonRpcBasicServer- Error in JSON-RPC Service
java.lang.RuntimeException: Error fetching key from file , cannot proceed to validate the signed bundle
/common/tmp/upgrade/download[/common/tmp/upgrade/download ]$ ls -ltrh
total 4.1G
-rw-r--r-- 1 admin root 4.1G Feb 4 19:30 VMware-HCX-Cloud-upgrade-bundle-4.8.2.0-23247145.tar.gz
-rw-r--r-- 1 admin root 2.0K Feb 4 19:34 VMware-HCX-Cloud-upgrade-bundle-4.8.2.0-23247145.tar.gz.sha256.sig
/common/ks, show that the specific file ovf_klnext.public is of 0 KB. VMware HCX
Issue is due to the file "ovf_klnext.public" being corrupted or invalid.
ovf_klnext.public from a working HCX Manager (of the same HCX version) to the /common/ks/ directory of the affected HCX Manager. https://<hcx-manager-ip-fqdn>:9443), navigate to Administration > Upgrade > Upgrade > Choose File > Select the HCX Upgrade bundle and then retry the upgrade.HCX upgrade bundle can be downloaded from the Broadcom Support Portal. Next to your profile on top right, click the dropdown and go to VMware Cloud Foundation -> My Downloads -> VMware HCX
Reference: Download Broadcom products and software