i am trying to sign an .app file for appsource. but im getting an error that says "this file format cannot be signed".
I have done this before successfully on my pc.
1. I have business central Installed on my system.(I dont use it)
2. it is a sectigo certificate HSM
3. the command i am using is : signtool sign /sha1 12345678932156987 /tr http://timestamp.sectigo.com /td sha256 /fd sha256 /n "My Company" "C:\path\to\fileToSign.exe"
4. the command was given by the sectigo team, but im pretty sure this didn't work last time too. I had to make some change in this, but I don't remember what are the changes I made.
Could anyone guide me what im doing wrong here?