Unable to download and Install OS patches from a WSUS to a Vault server.
Symptom
When attempting to update a Vault server with OS updates, you can list the available updates but receive the following error on download:
"Downloading windows updates... Download failed, Error: Failed, HResult: -2145124318 List of the updates failed to download: 1. xxxxxxx 2. xxxxxxx 3. xxxxxxx"
Environment
10.10;11.5;12.2;12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted) Vault Server
Windows Server (with Hardened Vault)
Cause
You see an error due to HTTP (Port 8530) not being enabled between the vault and the WSUS server.
WSUS uses SSL for metadata only, not for update files. It is the same way that Microsoft Update distributes updates. Microsoft reduces the risk of sending update files over an unencrypted channel by signing each update. In addition, a hash is computed and sent together with the metadata for each update.
When an update is a download, WSUS checks the digital signature and hash. If the update has changed, it is not installed.
This is documented on the Microsoft site under section 2.5 here:
https://docs.microsoft.com/en-us/windows-server/administration/windows-server-update-services/deploy/2-configure-wsus
Resolution
Ensure that both HTTP (8530) & HTTPS (8531) ports are opened between the Vault and the WSUS server.