Skip to main content

Properties file for Linux

Store your API key and client authentication certificate password in a properties file to simplify setup and improve security. The SMCTL client automatically retrieves these credentials when the file is saved as .signingmanager/ssm-config.properties in your home directory.

Create properties file

  1. Open an integrated development environment (IDE) or plain text editor.

  2. Copy and paste the following text:

    SM_API_KEY=<API key>
    SM_CLIENT_CERT_PASSWORD=<Client certificate password>
  3. Provide your API key and client authentication certificate password.

  4. Name the file as ssm-config.properties.

  5. Save the file in the following location: <Home Dir>/.signingmanager/ssm-config.properties.

Note

When your API key and client authentication certificate password are stored, use the following command to set the host and client authentication certificate in SMCTL:

export SM_HOST=<host URL>
export SM_CLIENT_CERT_FILE=<P12 client authentication certificate file path>

Proxy configuration

Configure the HTTPS_PROXY environment variable if the client tool need to communicate through a proxy.

Anonymous proxy

If your proxy doesn't require authentication, run the following command:

export HTTPS_PROXY=https://<proxy_host>:<proxy_port>

Authenticated proxy

If your proxy requires authentication, run the following command:

export HTTPS_PROXY=https://user:password@<proxy_host>:<proxy_port>