Error: Unknown error 0x80072EFD when signing scripts

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 1 year and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
ddemaeseneer
Posts: 8
Last visit: Fri Jan 26, 2024 2:53 pm
Has voted: 2 times

Error: Unknown error 0x80072EFD when signing scripts

Post by ddemaeseneer »

Product: PowerShell Studio 2022 (64 Bit)
Build: v5.8.201
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18363.0

SAPIEN Package and Deploy Tool 4.5 (c) 2005 - 2022 SAPIEN Technologies, Inc.

File version incremented to 1.12.45.0
Product version incremented to 1.12.45.0
------ Build started: MUST Total Toolkit, Configuration: x64 ------
Packaging with SAPIEN PowerShell V5 Host (Windows Forms) x64
Package will be restricted to OS version(s): 10.0
Adding C:\Users\<UserName>\Documents\SAPIEN\PowerShell Studio\Projects\MUST Total Toolkit.Package.ps1
Writing scripts to bin\x64\MUST Total Toolkit.exe
Embedding default manifest...
Error: Unknown error 0x80072EFD
Unable to sign bin\x64\MUST Total Toolkit.exe

We are using a Cert for code singing with a smart card

Error: The file "bin\x64\MUST Total Toolkit.exe" is not signed.
Package completed

3 error(s), 0 warning(s)
ddemaeseneer
Posts: 8
Last visit: Fri Jan 26, 2024 2:53 pm
Has voted: 2 times

Re: Error: Unknown error 0x80072EFD when signing scripts

Post by ddemaeseneer »

When I change the TimeStamp URL to another I do not have the same errors. > Screen_Capture_20220916_110304_471.png
Different TimeStamp URL: Screen_Capture_20220916_105225_945.png
Attachments
Screen_Capture_20220916_110304_471.png
Screen_Capture_20220916_110304_471.png (4.56 KiB) Viewed 885 times
Screen_Capture_20220916_105225_945.png
Screen_Capture_20220916_105225_945.png (85.76 KiB) Viewed 885 times
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: Error: Unknown error 0x80072EFD when signing scripts

Post by Alexander Riedel »

Not all time stamp servers are compatible with all certificates. Use the one that is recommended by your certificate provider.
If the Authenticode API cannot use your certificate, you can use an external signing tool in a post-build command.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 1 year and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.