Configuring server components to use the HTTP proxy external server
Merely defining an HTTP proxy external server in the configuration does not cause the server to use that proxy server for anything. Instead, you must indicate which components should use that proxy server.
This is necessary because you might only need to use an HTTP proxy server for certain components (for example, it might be necessary when accessing external web services, but not for services on the internal private network).
All of the components that support the use of an HTTP proxy server offer an http-proxy-external-server
configuration property whose value should be the name of the appropriate HTTP proxy external server definition in the configuration. For example, to update the Pwned Passwords password validator to use the HTTP proxy server defined in the “Example HTTP Proxy Server" configuration object, use a configuration change like the following:
dsconfig set-password-validator-prop \ --validator-name "Pwned Passwords" \ --set "http-proxy-external-server:Example HTTP Proxy Server"