In Team Center Registration, when trying to "Test Configuration", getting the error message "Configuration test failed. Security token is invalid".
The Enterprise Team Center(ETC)'s IntroscopeEnterpriseManager.log shows:
[ERROR] [btpool0-4] [Manager.AppMap] Internal Server Error happend during controller invocation!
com.ca.apm.crypto.InvalidConfigurationException: Given final block not properly padded
at com.ca.apm.crypto.SecureCryptImpl.decrypt(SecureCryptImpl.java:160)
at com.wily.introscope.appmap.crypto.SecureStoreImpl.fetchDecrypted(SecureStoreImpl.java:211)
at com.wily.introscope.appmap.crypto.SecureStoreImpl.fetchDecrypted(SecureStoreImpl.java:216)
at com.wily.introscope.appmap.rest.controllers.TokenController.decryptToken(TokenController.java:250)
at com.wily.introscope.appmap.rest.controllers.TokenController.getAllTokens(TokenController.java:222)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Also, the Messages link shows
"Error Retrieving tokens: Status code 500"
Selecting "Public API" type when generating a security token in WebView.
"System" type should be used instead.
Make sure to select "System", NOT "Public API" as shown in the picture below when generating a security token.
<Please see attached file for image>