Skip to main content

Session-based credentials for Windows

Using session-based environment variables means that every time you open a new command line session, you must set the following:

  • DigiCert ONE host

  • API key

  • Client authentication certificate path and password

Configure session-based environment variables

  1. Open a command prompt.

  2. To configure session-based environment variables, run:

    set SM_API_KEY=<API key> 
    set SM_HOST=<host URL>
    set SM_CLIENT_CERT_FILE=<P12 client authentication certificate file path>
    set 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 doesn't require authentication:

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

Authenticated proxy

Use this command if your proxy requires authentication:

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