Properties file for macOS
Store your API key and client authentication 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
Open an integrated development environment (IDE) or plain text editor.
Copy and paste the following:
SM_API_KEY=<API key> SM_CLIENT_CERT_PASSWORD=<Client certificate password>
Provide your API key and client authentication password.
Name the file: ssm-config.properties.
Save the file in the following location:
.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, use the following command:
export HTTPS_PROXY=https://<proxy_host>:<proxy_port>
Authenticated proxy
If your proxy requires authentication, use the following command:
export HTTPS_PROXY=https://user:password@<proxy_host>:<proxy_port>