Skip to content

Sign Installers with JSign

JSign is a free, open-source, Java-based code signing tool that supports a wide variety of keystores and cloud signing services:

  • PFX / PKCS#12 certificate files
  • Hardware tokens (ETOKEN, YUBIKEY, and other PKCS#11 devices)
  • Azure Key Vault
  • AWS KMS (Key Management Service)
  • Google Cloud KMS
  • HashiCorp Vault
  • And many more

JSign is an excellent alternative when you need cloud-based key management or when the built-in signing tools (GSignCode, SignTool) don’t support your keystore type.

  1. Java must be installed and accessible on your system PATH (java.exe)

  2. JSign JAR file — install via Chocolatey:

    Terminal window
    choco install jsign

    Or download the JAR file manually from the JSign releases page.

  3. Configure the JSign JAR path in Paquet Builder’s Environment Options under the Code Signing section.

  1. Open the Digital Signature settings page

  2. Enable “Digitally sign my package”

  3. In the Certificate Location dropdown, select JSign (option 5)

  4. Enter your JSign signing command(s) in the command field

JSign configuration in Paquet Builder

Use these placeholders in your JSign commands — they are replaced with actual values at build time:

PlaceholderReplaced With
{$PBOUTPUTFILE$}Full path to the output file being signed
{$PBOUTPUTFOLDER$}Path to the output folder
Terminal window
sign --keystore "C:\certs\mycert.p12" --storepass "mypassword" --tsaurl http://timestamp.sectigo.com --tsmode RFC3161 --digest-algorithm SHA-256 "{$PBOUTPUTFILE$}"

When automating builds with directive files, set SignCertifLocation=5 in the [General] section and provide your JSign commands in a [JSignCmd] section:

[General]
DigitalSign=1
SignCertifLocation=5
[JSignCmd]
0=sign --keystore "certificate.p12" --storepass "mypass" --tsaurl http://timestamp.sectigo.com --tsmode RFC3161 --digest-algorithm SHA-256 "{$PBOUTPUTFILE$}"

Each line in [JSignCmd] is a separate signing command, executed in order. This allows applying multiple signatures if needed.

MethodCostCloud KMSHardware TokensNotes
GSignCode (built-in)FreeNoYesIncluded with Paquet Builder
SignTool CommandsFreeNoYesRequires Windows SDK
Azure Artifact SigningPay-per-useAzure onlyNoMicrosoft’s managed service
JSignFreeYes (Azure, AWS, GCP)YesOpen-source, cross-platform