Proxy server information can be passed to CLI using environment variables. Set the environment variables before running the CLI client application. The following environment variables are available:
HTTP_PROXY
Hostname or IP address of the proxy server to use for HTTP requests. Typical HTTP requests made by CLI are to CRL distribution points or OCSP responders for SSL certificate revocation checking. The format for the HTTP_PROXY environment variable is:
[http://][username:password@](host-name|ipv4_address|ipv6_address)[:port]
HTTPS_PROXY
Hostname or IP address of the proxy server to use for HTTPS or TLS requests. Typical HTTPS/TLS requests made by CLI are to Identity Providers when using LOGMECH=BROWSER, or when using TLS connections to a DBS node. The format for the HTTPS_PROXY environment variable is:
[http://][username:password@](host-name|ipv4_address|ipv6_address)[:port]
ALL_PROXY
Hostname or IP address of the proxy server to use for HTTP, HTTPS, and TLS requests. Use this environment variable instead of HTTP_PROXY and HTTPS_PROXY environment variables when the proxy server address is the same for both HTTP and HTTPS/TLS requests. The format for the ALL_PROXY environment variable is:
[http://][username:password@](host-name|ipv4_address|ipv6_address)[:port]
proxy_bypass_hosts
A comma separated list of hostname, domain, and IP address patterns which will be connected to directly and not through a proxy server. The patterns can be of the following formats:
Pattern Example | Example |
---|---|
hostname.domain | server.example.com |
domain | example.com |
IPv4 address | 192.168.1.1 |
IPv4 address range | 192.168.0.0/16 |
IPv6 address | ::1 |
The proxy_bypass_hosts value is used for HTTP_PROXY, HTTPS_PROXY, and ALL_PROXY servers.