2673 views

Description

Symptoms


Test credential not working with error pattern as below:

A JSONObject text must begin with '{' at character 1 of SNC_ENC_VAL[501cy5cdwvJ5P2wZ/LmtEVisfadaCWsnFb05aHS3adaQqniGv1PpIgg0F2wSEB31TZUOluvu202ZWO7nh5ouni69jW5iVvhJvewrt0/R7O6YdWPUs7W9/hLRM5tu+dh5u0avfKjILRkIBnTjuvrgIKFnK75YwtKFkDuqDCP6n2HUAsgxPrLHwgZA+MZj5YngjKOp5pFthmX11fqM5wGJqPpovjteqhW3Hw9826TP2GKZ1kcRJV414OOTU4Mjh4ASDldt1g==]

 

Release


Jakarta, Kingston

Cause


Could be due to keystore corruption in mid server.

Resolution


1. Make sure the mid server windows service "Log on as" account is either a local admin account, or has full permission to mid server folder. 
If point 1 is verified, please proceed following steps 
2. On MID server host, stop MID server windows service 
3. Delete the keystore file in agent/keystore folder. 
4. Open config.xml and remove the keystore value. 
ie: 
<parameter name="keypairs.mid_id" value=""/> 
5. Start MID server windows service 

The mid server will start up as not validated. Click the validate link and the MID server should restart and then validated. 

 

Release or Environment

Jakarta, Kingston

Possibly more (See Additional Information)

Cause

Could be due to keystore corruption in mid server.

 

Resolution

1. Make sure the mid server windows service "Log on as" account is either a local admin account, or has full permission to mid server folder. 
If point 1 is verified, please proceed following steps 
2. On MID server host, stop MID server windows service 
3. Delete the keystore file in agent/keystore folder. 
4. Open config.xml and remove the keystore value. 
ie: 
<parameter name="keypairs.mid_id" value=""/> 
5. Start MID server windows service 

The mid server will start up as not validated. Click the validate link and the MID server should restart and then validated. 

Additional Information

This error is also observed when clients switch between JRE versions (e.g: from Java 8 to Java 11). Since this changes the Java implementation the Java keystore is also changed. If this is not flushed from config.xml then the new Java cannot decrypt the keystore and throws errors similar to keystore corruption.

Article Information

Last Updated:2020-01-08 11:06:51
Published:2020-01-08