Cloud Agent Proxy Configuration

By default, the Qualys Cloud Agent for BSD operates in non-proxy mode. However, you can configure the Cloud Agent to use an HTTPS proxy for internet access. 

Perform the following steps to configure proxy for your Cloud Agent:

  1. Create the /usr/local/etc/qualys-cloud-agent file if it does not exists.
  2. Add one of the following lines to the file (only one line):
    https_proxy=https://[<username>:<password>@]<host>[:<port>]
    OR
    qualys_https_proxy=https://[<username>:<password>@]<host>[:<port>]

    where <username> and <password> are specified if the https proxy uses authentication. If special characters are embedded in the username or password (e.g. @, :, $) they need to be url-encoded. where <host> is the proxy server's IPv4 address or FQDN. where <port> is the proxy's port number.

    If the proxy is specified with the https_proxy environment variable, it will be used for all commands performed by the Cloud Agent. If the proxy is specified with the qualys_https_proxy environment variable, it will only be used by the Cloud Agent to communicate with our cloud platform.

    You can use the Proxy Configuration Encryption Utility to encrypt the user name and password that you provide to the proxy environment variable.

  3. Restart qualys-cloud-agent service using the following command:
    service qualys-cloud-agent restart