Session-based environment variables for macOS
Using session-based environment variables means that you are required to set DigiCert ONE host, API key, and client authentication certificate path and password every time you open a new command line session.
Set session-based environment variables
To set session-based environment variables:
Open the Terminal application.
Run:
export SM_API_KEY=<API key> export SM_HOST=<host URL> export SM_CLIENT_CERT_FILE=<P12 client authentication certificate file path> export SM_CLIENT_CERT_PASSWORD=<P12 client authentication certificate password>
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>