Skip to main content

Signing Manager Controller (SMCTL)

Signing Manager Controller (SMCTL) provides a Command Line Interface (CLI) that facilitates manual and automated private key management, certificate management, and signing with or without the need for human intervention.

SMCTL comes with a built-in help function and provides instructions on all commands and subcommands to assist users in the CTL tool. See SMCTL command manual.

SMCTL provides secure key generation, application hash signing, and associated certificate-related requirements when the signing request does not require the transportation of files and intellectual property.

Prerequisites

Commands

To view all SMCTL commands:

smctl --help

or

smctl -h

Subcommands

These subcommands specify the actions you can apply to commands when using SMCTL.

All SMCTL commands begin with:

smctl <subcommand>
tabla 1. Subcommands in SMCTL

Shortcut

Subcommand

Description

cert

certificate

Manage certificates.

creds

credentials

Manage credentials for the OS credential store.

gpg

Manage GPG keypairs and keyrings.

healthcheck

View and confirm the validity of the credentials and tools configured.

hsm

Manage HSMs mapped to your Software Trust Manager account.

kp

keypair

Manage keypairs.

logs

Manage logs.

manual

Generates up-to-date man pages of Signing Manager’s command-line interface. By default, it creates the man page files in the man-pages directory under the current directory.

notarization

Manage notarizations for Apple binaries. This command is only available on macOS.

rel

release

Manage releases.

sc

scan

Manage scans powered by ReversingLabs.

sign

Sign, verify, or remove a signature from binaries, hashes, and SBOMs.

user

Get user data.

windows

Commands specific to Windows OS.


Flags

Flags are used to modify the behavior of a subcommand by specifying parameters. Apply these flags to the subcommands above when using SMCTL.

tabla 2. Flags for SMCTL

Shortcut

Flag

Description

-v

--version

Version of SMCTL.

--dir string

Specify the directory to write the man pages. Default is man-pages/. Format: 

--dir="<value>"

-h

--help

Help for SMCTL.


What signing tools can SMCTL integrate with?

SMCTL integrates with and enables secure hash-based signing with the following signing tools while maintaining key protection, permission-based access and reporting all signing activities:

Download SMCTL

  1. Sign in to DigiCert ONE.

  2. Navigate to DigiCert​​®​​ Software Trust Manager > Resources > Client tool repository.

  3. Select your operating system.

  4. Click the download icon next to Signing Manager Controller (SMCTL).

Set up environment variables

Follow the instructions in one of the following articles based on the operating system you will use to sign:

Verify connection

To verify that your client can properly authenticate to the DigiCert​​®​​ Software Trust Manager service:

  1. Open smctl.exe.

  2. Run:

    smctl healthcheck

Obtain latest versions of SMCTL and other client tools

Review the following table to understand how to obtain the latest version of SMCTL and other client tools:

tabla 6.

SMCTL or client tools

Sample command

SMCTL (with auth)

curl -X GET -o C:\test\STM_DL/smtools-windows-x64.msi https://one.digicert.com/signingmanager/api-ui/v1/releases/smtools-windows-x64.msi/download -H "x-api-key:%SM_API_KEY%"

SMCTL (without auth)

curl -X GET -o C:\test\STM_DL\smtools-windows-x64.msi https://one.digicert.com/signingmanager/api-ui/v1/releases/noauth/smtools-windows-x64.msi/download

JCE

curl -X GET -o C:\test\STM_DL\client-tools/digicert-jce-1.0.zip https://one.digicert.com/signingmanager/api-ui/v1/releases/noauth/digicert-jce-1.0.zip/download


fecha de publicación: