Older versionVersion 2.2 SolutionsManage Proxy Settings

Manage Proxy Settings

This article describes how to configure a PhenixId server to use a custom proxy when using HTTP(S) for out bound communications.

The reader of this PSD should have some basic knowledge about PhenixID Server.

System requirements

  • PhenixID Server installed.
  • Information about the proxy solution used.

Overview

The instructions in this document will add information for the proxy settings of the network, where PhenixID server is installed.

We will make changes to the file start-PhenixID.sh (Linux), phenixidserver.vmoptions (Windows) and phenixservice.vmoptions (Windows).

So please make sure that you have a recent copy/backup of this file/files.

Linux

Open the file <PhenixID Server installationdirectory>/bin/start-PhenixID.sh

Locate the section:

##################Proxy settings,To use proxy uncomment and change parameters to fit your environment#######
#http.proxyHost (default: <none>)
#http.proxyPort (default: 80)
#https.proxyHost(default: <none>)
#https.proxyPort (default: 443)
#JAVA_OPTS="${JAVA_OPTS} -Dhttp.proxyHost=192.168.0.55 -Dhttp.proxyPort=8080 -Dhttps.proxyHost=192.168.0.55 -Dhttps.proxyPort=8080 -Dhttp.proxyUser=user -Dhttp.proxyPassword=password"
#############################################

Unmark the line starting with JAVA_OPTS=..., and set the values for host and port accordingly.

If the proxy server is configured for authentication, set the values for user and password.

When the values are set, please restart the service.

Windows

Add the following lines to <PhenixID Server installationdirectory>/bin/phenixidserver.vmoptions and phenixservice.vmoptions:

-Dhttp.proxyHost=192.168.0.55
-Dhttp.proxyPort=8080
-Dhttps.proxyHost=192.168.0.55
-Dhttps.proxyPort=8080
-Dhttp.proxyUser=user
-Dhttp.proxyPassword=password

Set the values for host and port accordingly.

If the proxy server is configured for authentication, set the values for user and password.

When the values are set, please restart the service.