DCourtel / Wsus_Package_Publisher

Publish third-party applications into your WSUS.
MIT License
215 stars 34 forks source link

Failed to sign package; error was: 2147954402 #64

Closed ljbrusta closed 3 years ago

ljbrusta commented 3 years ago

Trying to publish a simple package and receive error: Operation Failed with Error: Failed to sign package; error was: 2147954402 from the %LocalAppData%\Temp log file I see this. **** System.InvalidOperationException : Failed to sign package; error was: 2147954402

I see a closed issue where it said "Also, ensure your WSUS server can access Internet to use the timestamping option." We are in a very locked down environment and use a proxy server whitelist to only allow Microsoft update catalog connections. So I'm not sure what this is referring to. Being that this systems is pretty much air gapped is there another option to fix this?

Running WPP v1.4.2103.13 on the internal WSUS 2016 server with an Internal Microsoft Enterprise CA for the code signing certificate.

DCourtel commented 3 years ago

Hi ljbrusta, can you create a Reg_SZ value in HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\EasyCompany\Wsus Package Publisher with the data = 1 and try again. That will disable timestamping from WPP.

ljbrusta commented 3 years ago

Just any value name for the Reg_SZ?

From: David COURTEL @.> Sent: Monday, September 6, 2021 9:08 AM To: DCourtel/Wsus_Package_Publisher @.> Cc: ljbrusta @.>; Author @.> Subject: Re: [DCourtel/Wsus_Package_Publisher] Failed to sign package; error was: 2147954402 (#64)

Hi ljbrusta, can you create a Reg_SZ value in HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\EasyCompany\Wsus Package Publisher with the data = 1 and try again. That will disable timestamping from WPP.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DCourtel/Wsus_Package_Publisher/issues/64#issuecomment-913716148 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALL5S5T3YSTQCITOFYGN473UATKNHANCNFSM5CDZXACA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/ALL5S5SI7FI3WG2MIZENF33UATKNHA5CNFSM5CDZXACKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGZ3DHNA.gif

DCourtel commented 3 years ago

Sorry, I forgot the value name: DisableTimestamping