Configuring the Network Proxy
By default, the ascend-deployer tool verifies the HTTPS certificate. If a certificate error occurs during the download, the proxy server may have a security mechanism for certificate replacement. In this case, you need to install the proxy server certificate first.
- To use the HTTP proxy, configure the proxy in the environment variables as follows:
- Linux
# Configure environment variables. export http_proxy="http://user:password@proxyserverip:port" export https_proxy="http://user:password@proxyserverip:port"
In the preceding commands, user indicates the username on the intranet, password (special characters need to be converted) indicates the user password, proxyserverip indicates the IP address of the proxy server, and port indicates the port number.
- Windows
For details about how to configure the proxy, see Configuring a System Network Proxy (Windows).
- Linux
- Configure whether to verify the certificate in the ascend-deployer/downloader/config.ini file as follows:
[proxy] verify= # Whether to verify the HTTPS certificate. If this function is disabled, security risks may exist.
Parent topic: Common Operations