Proxy server settings can be passed to CLI via the connection string. The following connection string parameters are supported:
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 parameter is:
[http://][username:password@](host-name|ipv4_address|ipv6_address)[:port]
http_proxy_user
Proxy server username for proxy server given in http_proxy. If the username is specified in the http_proxy parameter, it is not necessary to set http_proxy_user.
http_proxy_password
Proxy server password for proxy server given in http_proxy. If the password is specified in the http_proxy parameter, it is not necessary to set http_proxy_password.
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 parameter is:
[http://][username:password@](host-name|ipv4_address|ipv6_address)[:port]
https_proxy_user
Proxy server username for proxy server given in https_proxy. If the username is specified in the https_proxy parameter, it is not necessary to set https_proxy_user.
https_proxy_password
Proxy server password for proxy server given in https_proxy. If the password is specified in the https_proxy parameter, it is not necessary to set https_proxy_password.
all_proxy
Hostname or IP address of the proxy server to use for HTTP, HTTPS, and TLS requests. Use this parameter instead of http_proxy and https_proxy when the proxy server address is the same for both HTTP and HTTPS/TLS requests. The format for the all_proxy parameter is:
[http://][username:password@](host-name|ipv4_address|ipv6_address)[:port]
all_proxy_user
Proxy server username for proxy server given in all_proxy. If the username is specified in the all_proxy parameter, it is not necessary to set all_proxy_user.
all_proxy_password
Proxy server password for proxy server given in all_proxy. If the password is specified in the all_proxy parameter, it is not necessary to set all_proxy_password.
proxy_bypass
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 value is used for http_proxy, https_proxy, and all_proxy servers.