Changing IAM default port
search cancel

Changing IAM default port

book

Article ID: 117126

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

How to change default port for IAM?

Environment

All supported DevTest releases.

Resolution

Before SP2

Change default ports for IAM in the standalone.conf file in the IdentityAccessManager/bin folder. 

Modify the properties below. 

# Setup default http 
JAVA_OPTS="$JAVA_OPTS -Djboss.http.port=51112 -Djboss.https.port=51111" 

to

JAVA_OPTS="$JAVA_OPTS -Djboss.http.port=7500 -Djboss.https.port=7501" 

In the local.properties file, add the below for all DevTest components. 

## Configuring IAM
iam.server.url=https://<IAM machine>:7501/auth

Restart IAM.

 

With SP2 and SP3

Change the default port to be something else in the iam.properties file and modify below

Uncomment both # https.port=51111 and # http.port=51112 lines and change to the ports you want.

In the local.properties file, add the below for all DevTest components. 

## Configuring IAM
iam.server.url=https://<IAM machine>:<new port>/auth

Restart IAM.

 

With SP4 and Later

Change the default port to be something else in the iam.properties file and modify below

Uncomment both # https.port=51111 and # http.port=51112 lines and change to the ports you want.

In the local.properties file, add the below for all DevTest components. 

## Configuring IAM
iam.server.url=https://<IAM machine>:<new port>

Restart IAM.