API Gateway: Special characters in password for GMU
search cancel

API Gateway: Special characters in password for GMU

book

Article ID: 186824

calendar_today

Updated On:

Products

CA API Gateway CA Microgateway

Issue/Introduction

GMU (GatewayMigrationUtility.sh) command failed with the following error:

Execution failed. Reason: Internal Server Error. Detail: Authentication Failed

Environment

Release : 9.x

Component : API GATEWAY

Cause

./GatewayMigrationUtility.sh restman -z gmu.properties --method PUT --path '1.0/policies/bb9eeb9935d395ff541afe76a3635164' --query 'versionComment=GMU test' --request update_policy.xml --response response.xml

gmu.properties file has the following entry for password

plaintextPassword=ABg3t=(eI\]m8#3$NMdf

The backslash (\) in the plain text password caused this issue

Resolution

This issue can be resolved by following one of the below suggestions:

1. Remove backslash (\) from the password and never use it in a password.
2. Escape the backslash with another backslash as shown below:

Original password - plaintextPassword=ABg3t=(eI\]m8#3$NMdf
Backslash escaped password - plaintextPassword=ABg3t=(eI\\]m8#3$NMdf