Describe the bug
winapp cert generate --publisher "CN=Taozuhong, L=Shenzhen, S=Guangdong, C=CN" --output SelfSign.pfx --password LoveHome --if-exists Overwrite --export-cer
❌ Failed to create MSIX package: Publisher in D:\Github\kangaroo\build\package\appxmanifest.xml (CN=Taozuhong, L=Shenzhen, S=Guangdong, C=CN) does not match the publisher in the certificate D:\Github\kangaroo\tools\winstore\SelfSign.pfx (CN=Taozuhong).
To Reproduce
-
Generate certificate file
winapp cert generate --publisher "CN=Taozuhong, L=Shenzhen, S=Guangdong, C=CN" --output SelfSign.pfx --password LoveHome --if-exists Overwrite --export-cer
-
Make package and sign the package
winapp package package --exe bin\kangaroo.cmd --output %PKG_NAME%.appx --cert %PFX_NAME% --cert-password %PASSWORD% >NUL
-
Error outputed.
❌ Failed to create MSIX package: Publisher in D:\Github\kangaroo\build\package\appxmanifest.xml (CN=Taozuhong, L=Shenzhen, S=Guangdong, C=CN) does not match the publisher in the certificate D:\Github\kangaroo\tools\winstore\SelfSign.pfx (CN=Taozuhong).
- Regenerate the certificate file with the same publisher and sign the package, throw error again
"CMD.exe: Make Windows Store package and add digital signature......"
[ERROR] - Done Adding Additional Store
Error information: "Error: SignerSign() failed." (-2147024885/0x8007000b)
[ERROR] - SignTool Error: An unexpected internal error has occurred.
❌ Failed to create MSIX package: signtool.exe execution failed with exit code 1
Expected behavior
Math the publisher and sign the MSIX package
Screenshots
No response
OS Version and details
No response
Describe the bug
To Reproduce
Generate certificate file
winapp cert generate --publisher "CN=Taozuhong, L=Shenzhen, S=Guangdong, C=CN" --output SelfSign.pfx --password LoveHome --if-exists Overwrite --export-cerMake package and sign the package
winapp package package --exe bin\kangaroo.cmd --output %PKG_NAME%.appx --cert %PFX_NAME% --cert-password %PASSWORD% >NULError outputed.
Expected behavior
Math the publisher and sign the MSIX package
Screenshots
No response
OS Version and details
No response