Forum Discussion
leecroucher
May 17, 2022Copper Contributor
signtool cannot sign MSIX files from HSM certificate
I am unable to sign code from signtool.exe using a hardware key provider with this error: .\signtool.exe sign /fd SHA256 /t http://timestamp.entrust.net/rfc3161ts2 "c:\code\notepad_x64.msix" Do...
- Jun 02, 2022This group is miles of.....
https://www.a6n.co.uk/2022/05/msix-update-signing-code-with-timestamp.html
You need the signtool from Windows 11 and the CN= of the package needs to match the CN= of the certificate
harshada2019
Microsoft
Jun 02, 2022The error may also occur if the MSIX you are trying to package is corrupt. Can you please try with another MSIX package and see if it fails as well?
leecroucher
Jun 02, 2022Copper Contributor
This group is miles of.....
https://www.a6n.co.uk/2022/05/msix-update-signing-code-with-timestamp.html
You need the signtool from Windows 11 and the CN= of the package needs to match the CN= of the certificate
https://www.a6n.co.uk/2022/05/msix-update-signing-code-with-timestamp.html
You need the signtool from Windows 11 and the CN= of the package needs to match the CN= of the certificate