added
mabl CLI proxy support
over 5 years ago by Don McNamara
Customers using a proxy to connect to the Internet within their network can now use the mabl CLI with forward proxy configuration.
There are two configuration settings that you can use to enable proxy support in the CLI:
http.proxy
The URL for your proxy server. If your proxy requires basic authentication, you can specify the user name and password as part of the URL.
# add a proxy with no credentials on port 3128
mabl config set http.proxy http://proxy.mycompany.com:3128
# add a proxy using credentials on port 3128
mabl config set http.proxy http://username:[email protected]:3128
# delete the current proxy setting
mabl config delete http.proxy
http.sslVerify
By default, the CLI verifies server certificates are issued by a known certificate authority. Certificate verification may fail if your proxy is intercepting HTTPS traffic. If you are using a proxy and SSL verification is failing, you can disable certificate verification as shown below. We suggest you do this only if required.
# disable SSL verification
mabl config set http.sslVerify false
# delete the current ssl verification setting to use the default
mabl config delete http.sslVerify