Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SignerSignEx3 returns 80072EE7 #281

Open
tyrel-alastair-hunter-bosch opened this issue Oct 23, 2024 · 2 comments
Open

SignerSignEx3 returns 80072EE7 #281

tyrel-alastair-hunter-bosch opened this issue Oct 23, 2024 · 2 comments

Comments

@tyrel-alastair-hunter-bosch

While trying to sign a dll using azure sign tool the tool aborts signing with
HRESULT = 80072EE7.

@tyrel-alastair-hunter-bosch
Copy link
Author

2024-10-23 08:28:30.872 trce: AzureSignTool.SignCommand[0]
2024-10-23 08:28:30.872 Retrieving current version of certificate ************.
2024-10-23 08:28:34.182 trce: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.182 Retrieved certificate with Id ************************.
2024-10-23 08:28:34.182 trce: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.182 Creating context
2024-10-23 08:28:34.182 info: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.182 => File: *************************.exe
2024-10-23 08:28:34.182 Signing file.
2024-10-23 08:28:34.182 info: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.182 => File: **************************.exe
2024-10-23 08:28:34.182 trce: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.182 => File: **************************.exe
2024-10-23 08:28:34.182 Getting SIP Data
2024-10-23 08:28:34.182 trce: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.182 => File: **************************.exe
2024-10-23 08:28:34.183 Calling SignerSignEx3 with flags: SIGN_CALLBACK_UNDOCUMENTED
2024-10-23 08:28:34.442 info: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.442 => File: **************************.exe
2024-10-23 08:28:34.442 File Singning Completed with result -2147012889
2024-10-23 08:28:34.442 fail: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.442 => File: **************************.exe
2024-10-23 08:28:34.443 Signing failed with error 80072EE7.
2024-10-23 08:28:34.443 info: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.443 => File: **************************.exe
2024-10-23 08:28:34.443 Stopping file signing.
2024-10-23 08:28:34.443 info: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.443 Successful operations: 0
2024-10-23 08:28:34.443 info: AzureSignTool.SignCommand[0]
2024-10-23 08:28:34.443 Failed operations: 1

@tyrel-alastair-hunter-bosch
Copy link
Author

So it appears that when setting HTTP_PROXY and HTTPS_PROXY as environment variables fetching the certificate works, but timestampinf fails. If I remove the timestamp then the singing is completed without issues.

Additionally when I set the proxy via windows GUI (Proxy Settings) control panel then it also works.

Anyone know why this does not work when setting the HTTP_PROXY and HTTPS_PROXY settings as environment variables?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant