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.
- If a proxy is required, you need to configure the proxy in the environment variables. (Note the security of the proxy.) The following is an example:
- Linux
# Configure environment variables. export http_proxy="http://proxyserverip:port" export https_proxy="http://proxyserverip:port"
In the preceding commands, 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