Windows Credential Manager (recommended)
Windows Credential Manager enhances security by securely storing login credentials in an encrypted vault, safeguarding them from unauthorized access. You can strengthen the security of your API key and client authentication certificate password by storing them in Windows Credential Manager.
Once your credentials are stored, all DigiCert® Software Trust Manager client tools can retrieve your credentials from Windows Credential Manager.
Save your API key and client authentication certificate password
To save your API key and Client authentication certificate to Windows Credential Manager, follow these steps:
Open a command prompt.
Run the following command, replacing <API Key> and <Client authentication certificate password> with your actual credentials:
smctl credentials save <API key> <Client authentication certificate password>
You can use this command any number of times to overwrite the credentials stored.
Set Host and Client authentication certificate path
Once your API key and client authentication certificate password is securely stored in Windows Credential Manager, use the following session-based command to set the path to your Host and client authentication certificate in SMCTL:
set SM_HOST=<host URL> set SM_CLIENT_CERT_FILE=<P12 client authentication certificate file path>
Proxy configuration
If your client tool needs to communicate through a proxy, you can configure the HTTPS_PROXY
environment variable accordingly. Choose the appropriate command based on your proxy type:
Anonymous proxy
Use this command if your proxy does not require authentication:
Anmerkung
Regarding the use of https:// in the following command:
Using https:// will not list keypairs.
Not using https:// will list keypairs.
set HTTPS_PROXY=https://<proxy_host>:<proxy_port>
Authenticated proxy
Use this command if your proxy requires authentication:
set HTTPS_PROXY=user:password@<proxy_host>:<proxy_port>
Delete your credentials from Windows Credential Manager
If you need to delete credentials saved in the Windows Credential Manager, run the following command in SMCTL:
smctl credentials delete