Hello
Microsoft’s SignTool is a command-line tool that digitally signs files, verifies the signatures in files, and time stamps files. You can use SignTool to sign any file type, as long as the file format supports digital signatures.
Here are the steps to sign a file using SignTool:
Obtain a certificate that identifies the signer. You can get a certificate from a certification authority (CA), or create your own self-signed certificate.
Store the certificate in a Personal Information Exchange (PFX) file, or in a certificate store on your computer.
Use the following basic syntax to sign a file:
signtool sign [options] file_name
where options are the parameters that specify the certificate, the digest algorithm, the time stamp server, and other information.
For more information about SignTool, you can refer to the official https://learn.microsoft.com/en-us/windows/msix/package/sign-app-package-using-signtool