I had the same error message whilst attempting to sign an MSIX and in my case the issue turned out to be a corrupted signature in one of the application's binaries. It can be recognised by a the security directory in the PE file pointing to an invalid RVA. I've also written a tool that can scan a binary, folder or MSIX for this issue and it's available on my [github](https://github.com/rweijnen/SigntoolCheck) under releases.
I had the same error message whilst attempting to sign an MSIX and in my case the issue turned out to be a corrupted signature in one of the application's binaries. It can be recognised by a the security directory in the PE file pointing to an invalid RVA. I've also written a tool that can scan a binary, folder or MSIX for this issue and it's available on my [github](https://github.com/rweijnen/SigntoolCheck) under releases.