Support Forum: Get Support for Patch My PC Products and Services

Microsoft Configuration Manager and Intune (Enterprises/Paid) => Knowledge Base Articles => Topic started by: Kirankr31 on February 04, 2019, 02:04:08 AM

Title: Failed to sign package; error was: 2147954402 OR 2147954429 OR 2147954407
Post by: Kirankr31 on February 04, 2019, 02:04:08 AM
An error occured while publishing an update to WSUS, Failed to sign package, error was 2147954402
Title: Re: Unable to publish third party software updates to WSUS
Post by: Justin Chalfant (Patch My PC) on February 04, 2019, 05:19:15 AM
Hey!

We've seen this a few times.

UPDATE: Please use the following KB for the most up to date information about this error: https://patchmypc.com/update-publishing-fails-when-proxy-is-in-use-and-timestamping-is-enabled


2147954402 = The operation timed out

This happens when you are using a proxy in the environment. You will one of the following error(s) in the PatchMyPC.log with 2147954402 being the most common.

(https://i.imgur.com/EfyveZE.png)

Most common one = "An error occurred while publishing an update to WSUS: Failed to sign package; error was: 2147954402"
Another possible error = "An error occurred while publishing an update to WSUS: Failed to sign package; error was: 2147954429"
Another possible error = "An error occurred while publishing an update to WSUS: Failed to sign package; error was: 2147954407"
Another possible error = "An error occurred while publishing an update to WSUS: Failed to sign package; error was: 2148086027"
Another possible error = An error occurred while publishing an update to WSUS: Failed to sign package; error was: 2149122451
Another possible error = An error occurred while publishing an update to WSUS: Failed to sign package; error was: 2149122455
Another possible error = An error occurred while publishing an update to WSUS: Failed to sign package; error was: 2149122449

The reason this happens is that although the publishing service and the SUP/WSUS is most likely configured to use a proxy. The WSUS API we call uses the Windows Crypto API for the timestamping operation to http://timestamp.digicert.com. The Windows Crypto API uses the default proxy configured at the SYSTEM level not what is defined in our publishing service or WSUS. We have confirmed with the SCCM product group this seems to be a known scenario where the WSUS API uses the default HTTP proxy setting in the SYSTEM level context, not the proxy configured in WSUS. Since the SYSTEM proxy is usually not set, this is why the HTTP call to http://timestamp.digicert.com will return the error(s) listed above.

Setting the SYSTEM Proxy:

To set the SYSTEM level proxy, we've found it's usually easiest to set it using Internet Explorer and PSEXEC.exe.


Additional Details:

2147954402 = The operation timed out
2147954429 = A connection with the server could not be established
2147954407 = The server name or address could not be resolved
2148086027 = ASN1 bad tag value met.
2149122451 = Forbidden (403).
2149122455 = Proxy authentication required (407).
2149122449 = Unauthorized (401).