Skip to main content

Properties file for macOS

Store your API key and client authentication password in a properties file. The SMCTL client will pull your API key and client certificate password from the properties file, if it is stored in .signingmanager\ssm-config.properties on your home directory.

Create properties file

To create the properties file:

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

  2. Copy and paste the following:

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

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

  5. Save the file in the following location: .signingmanager\ssm-config.properties.

참고

Once your API key and client authentication certificate password is securely stored in the properties file, 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

Use this command if your proxy does not require authentication:

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

Authenticated proxy

Use this command if your proxy requires authentication:

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