Skip to main content

安全な認証情報の設定 - Apple

[en] Keychain Access is a macOS application that stores your passwords and account information. Strengthen the security of your API key and client authentication certificate password by storing them in Keychain Access.

[en] Once your credentials are stored, all DigiCert​​®​​ Software Trust Manager client tools can pull your credentials from Keychain Access.

Apple Credential Managerでの Software Trust Manager認証情報の管理

このコマンドを使用して、Apple Credential Managerに認証情報を保存します。

To save credentials to the Keychain Access, run the following command in SMCTL:

./smctl-mac-x64 credentials save <API Key> <Client certificate password>

注記

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

Alternatively, you can store these variables in a properties file or persistent variables.

Remove credentials from Keychain Access

To delete credentials saved in the Keychain Access, run the following command in SMCTL:

./smctl-mac-x64 credentials delete

[en] Proxy configuration

[en] Configure the HTTPS_PROXY environment variable if the client tool need to communicate through a proxy.

[en] Anonymous proxy

[en] Use this command if your proxy does not require authentication:

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

[en] Authenticated proxy

[en] Use this command if your proxy requires authentication:

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