Configure proxy server support for the featureManager command in Liberty


Overview

We run featureManager to connect to the Liberty Repository through a user-specified proxy server.

Ensure the etc directory is found in the Liberty installation directory. If not found, create it.

Ensure the firewall provides access to:

  • public.dhe.ibm.com on port 443
  • asset-websphere.ibm.com on port 443

The featureManager command only supports proxy servers with HTTP/HTTPS protocols.

The proxy server is only supported for the install and find options for the featureManager command.

Both the featureManager command and the installUtility command use repositories.properties. The proxy settings are shared in that file are shared, but the repository settings are only used by the installUtility command. IBM recommends using the installUtility command over the featureManager command. The installUtility works with more asset types and from multiple repositories.


Configure proxy server support for the featureManager command

  1. Create ASCII file...

      $LIBERTY_HOME/etc directory/repositories.properties

  2. Set the following properties:

    1. Proxy server host name with no protocol information.

        proxyHost=proxy.xyz.com

    2. Proxy server port number:

        proxyPort=8080

    3. Proxy server user name and encrypted password.

        proxyUser=user
        proxyUserPassword={aes}Ly0wJyYPKDs=

    The password must be encrypted using...

    If the proxy server does not require authentication, proxyUser and proxyUserPassword properties are not required.

  3. Save the repositories.properties file.


What to do next

Install features:

Query features:

    featureManager find searchString --viewInfo


See also: featureManager command


Parent topic: Install assets using the featureManager command