How To Configure the DigiCert Certificate Agent to Use Your Proxy Server

Certificate Inspector Logo

Before you can use the DigiCert Certificate Inspector to discover and analyze your SSL Certificates and Endpoints, you must install the Certificate Agent on the computer from which you plan to scan your SSL landscape. After you register the agent, you can then select the servers that you want to scan. The Agent relays the information back to the Certificate Inspector to analyze. Once the scan is completed, you can then view the results. For additional information about DigiCert Certificate Inspector, see DigiCert® Certificate Inspector.

Problem:

If you installed the DigiCert Certificate Agent on a computer that requires a proxy server to communicate outside your network, the Agent cannot relay the results of the scan back to the DigiCert Certificate Inspector Server, which means that you are unable to see the results of the scan.

Solution:

You need to configure the DigiCert Certificate Agent to use the proxy server so that it can communicate with the DigiCert Certificate Inspector Server, and you can see the results of the scan.

Linux: Configuring the Agent to Use a Proxy Server

  1. On the computer that you installed the Agent on, open command line.

  2. In your home directory, open the .bashrc file.

    For example, run the following command:

    vi ~/.bashrc
  3. Next, add the following statement to your .bashrc file:

    export HTTPS_PROXY=IP Address/URL:Port

    For example:

    export HTTPS_PROXY=127.0.0.1:8888

    Command Prompt in Linux

  4. The Agent can now use the proxy server to pass the results of your scan back to the DigiCert Certificate Inspector Server.

Windows: Configuring the Agent to Use a Proxy Server

Windows Server 2012/Windows 8 Instructions

  1. On the computer that you installed the Agent on, open the Control Panel.

    From the Start screen, type and click Control Panel.

  2. In the Control Panel window, click System and Security.

  3. In the System and Security window, click System.

  4. In the System window, under Control Panel Home, click Advanced system settings.

    Windows 8

  5. In the System Properties window, on the Advanced tab, click Environmental Variables.

    Windows 8

  6. In the Environment Variables window, do one of the following:

    • If you want the proxy server available per account, add a new user variable:

      1. Under User variables for Support, click New.

      2. In the New User Variable window, in the Variable name box, enter HTTPS_PROXY.

      3. In the Variable value box, enter URL/IP Address:Port.

        For example, 127.0.0.1:8888

      4. Click OK.

      5. In the Environment Variables window, the new variable should now appear in the list of variables under User variables for Support.

    • If you want the proxy server available for all system users, add a new system variable:

      1. Under System variables, click New.

      2. In the New System Variable window, in the Variable name box, enter HTTPS_PROXY.

      3. In the Variable value box, enter URL/IP Address:Port.

        For example, 127.0.0.1:8888

      4. Click OK.

      5. In the Environment Variables window, the new variable should now appear in the list of variables under System variables.

    Windows 8

  7. In the Environment Variables window, click OK.

  8. In the System Properties window, click Apply.

Windows Server 2008/Windows 7 Instructions

  1. On the computer that you installed the Agent on, open the Control Panel.

    In the Windows Start menu, click Control Panel.

  2. In the Control Panel window, click System and Security.

  3. In the System and Security window, click System.

  4. In the System window, under Control Panel Home, click Advanced system settings.

    Windows Server 2008

  5. In the System Properties window, on the Advanced tab, click Environmental Variables.

    Windows Server 2008

  6. In the Environment Variables window, do one of the following:

    • If you want the proxy server available per account, add a new user variable:

      1. Under User variables for Support, click New.

      2. In the New User Variable window, in the Variable name box, enter HTTPS_PROXY.

      3. In the Variable value box, enter URL/IP Address:Port.

        For example, 127.0.0.1:8888

      4. Click OK.

      5. In the Environment Variables window, the new variable should now appear in the list of variables under User variables for Support.

    • If you want the proxy server available for all system users, add a new system variable:

      1. Under System variables, click New.

      2. In the New System Variable window, in the Variable name box, enter HTTPS_PROXY.

      3. In the Variable value box, enter URL/IP Address:Port.

        For example, 127.0.0.1:8888

      4. Click OK.

      5. In the Environment Variables window, the new variable should now appear in the list of variables under System variables.

    Windows Server 2008

  7. In the Environment Variables window, click OK.

  8. In the System Properties window, click Apply.