How to sign custom proprietary file formats using Microsoft signtool?

KANTHETI Sarada 0 Reputation points
2023-12-15T05:09:50.16+00:00

How to sign custom proprietary file formats using Microsoft signtool?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wesley Li-MSFT 4,571 Reputation points Microsoft External Staff
    2023-12-18T06:08:30.4+00:00

    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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.