Requirements
Two-factor authentication (2FA)
2FA is required when signing with a key stored in Software Trust Manager.
To enable 2FA:
Sign in to DigiCert ONE.
Navigate to the Manager menu icon (top right) > Accounts.
Select the Name of the account.
On the Account details page, navigate to the Sign-in settings for all-account-access users section.
Select the pencil icon next to Two-factor authentication.
Select the radio button next to Enable two-factor authentication.
Select Update two-factor authentication.
API key
An API key is a unique identifier generated by the server to authenticate a user or calling program to an API. The API key acts as the first factor of authentication when connecting to DigiCert® Software Trust Manager client tools.
Nota
The permissions for the API token are based upon your user permissions set in DigiCert® Software Trust Manager.
To create an API key:
Sign in to DigiCert ONE.
Click Profile icon (top-right).
Select Admin Profile.
Identify the On this page section (right), select API tokens.
Select Create API token.
Client authentication certificate
A client authentication certificate is a X.509 digital certificate with a unique password that is generated by the server to authenticate a user or calling program to an API. The client authentication certificate acts as the second factor of authentication when connecting to DigiCert® Software Trust Manager client tools .
Nota
The permissions for the client authentication certificate are based upon your user permissions set in DigiCert® Software Trust Manager.
To generate a client certificate:
Sign in to DigiCert ONE.
Click Profile icon (top-right).
Select Admin Profile.
Identify the On this page section (right), select Authentication Certificates.
Select Create authentication certificate.
Nota
The client certificate password is only shown once after creating the client certificate, it cannot be accessed again. Copy and paste the password directly into this field. Securely store the passcode if you will require it later.
Host environment
During environment variable setup, you are required to provide the DigiCert ONE host value.
Nota
You can only connect to the host that was used to create your credentials.
Country | Host type | SM_HOST value |
---|---|---|
United States of America (USA) | Demo | https://clientauth.demo.one.digicert.com |
Production | https://clientauth.one.digicert.com | |
Switzerland (CH) | Demo | https://clientauth.demo.one.ch.digicert.com |
Production | https://clientauth.one.ch.digicert.com | |
Japan (JP) | Demo | https://clientauth.demo.one.digicert.co.jp |
Production | https://clientauth.one.digicert.co.jp | |
Netherlands (NL) | Demo | https://clientauth.demo.one.nl.digicert.com |
Production | https://clientauth.one.nl.digicert.com |
Client tools
To download client tools:
Sign in to DigiCert ONE.
Select the Manager meu (top-right) > DigiCert® Software Trust Manager.
Navigate to: Resources > Client tool repository.
Download the appropriate files, move them to the appropriate client computer, and extract (or install).
The following client tools are available:
Set PATH environment variables
Operating systems use the environment variable called PATH to determine where executable files are stored on your system. Use the PATH environment variable to store the file path to your signing tools to ensure that the CLI can reference these signing tools.
Nota
Client tools must be available in the PATH variable for the environment to invoke the client control from CI/CD integration without specifying the path. For the examples given, it is assumed that the path to the client control tools has been set in the path.
Secure your credentials
Your DigiCert ONE host environment, API key, client authentication certificate and password makes up your environment variables and are required to access Software Trust Manager client tools. Use one of the methods provided below to securely store your credentials based on your operating system.
Types of certificates
You can generate public or private code signing certificates in DigiCert® Software Trust Manager.
Public code signing certificates
A CertCentral account is required to order publicly trusted certificates. You can integrate your CertCentral account with Software Trust Manager.
Publicly trusted code signing certificates:
Follows strict CA/B forum guidelines.
Are issued by DigiCert (a third party trusted certificate authority) which allows your software to be universally trusted by operating systems.
Contains verified information about your organization.
Nota
When a user downloads software that is signed with a publicly trusted code signing certificate, the operating system they are using and the user knows that a legitimate and trusted entity published it.
Private code signing certificates
Private code signing certificates (also known as self signed code signing certificates) can be created directly from Software Trust Manager. These certificates:
Are more flexible and does not have to follow any guidelines.
Are signed by you.
Are only trusted by machines that have your public key within their trust store.
Nota
When a user downloads software that is signed with a publicly trusted code signing certificate and the user does not have your public key within their trust store, the operating system will warn your user that your software is not trusted.