REG Azure Device Guard Signing

Microsoft

As the article https://docs.microsoft.com/en-us/windows/msix/package/signing-package-device-guard-signing

Was able to create AAD json file and trying to sign a MSIX app using AAD access token. Is this format correct: 

.\signtool.exe sign /fd sha256 /dlib DgssLib.dll /dmdf C:\temp\outfile.json C:\temp\Test1_1.0.0.0_x64__h91ms92gdsmmt.msix

 

 Getting this error:

Number of errors: 1

.\signtool.exe : SignTool Error: This file format cannot be signed because it is not recognized.
At line:1 char:1
+ .\signtool.exe sign /fd sha256 /dlib DgssLib.dll /dmdf C:\temp\outfil ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (SignTool Error:...not recognized.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

SignTool Error: An error occurred while attempting to sign: C:\temp\Test1_1.0.0.0_x64__h91ms92gdsmmt.msix

 

0 Replies