I am running sample rsa agent code in our liferay portal server(Linux). While running app, it seems agent connecting to AM (manager) but at end getting following error:
08:38:52,354 ERROR com.rsa.authagent.authapi.v8.logger.b:? - Error in initial AuthnReq/Rsp for serverTime.Error in processing Authn request: Unsupported ciphersuite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Can't create api: com.rsa.authagent.authapi.AuthAgentException: Error in initial AuthnReq/Rsp for serverTime.Error in processing Authn request: Unsupported ciphersuite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
I have following entry into rsa_api.properties:
RSA_AGENT_TYPE=RSA_WEB_AGENT
# Provide the Agent Version - default value is 'UnKnown'
RSA_AGENT_VERSION = 7.1
SDCONF_LOC=/var/lib/nysid/bundles/tomcat-7.0.42/webapps/rsaLogin/WEB-INF/sdconf.rec
SDNDSCRT_LOC=/var/lib/nysid/bundles/tomcat-7.0.42/webapps/rsaLogin/WEB-INF/classes/securid
RSA_LOG_TO_CONSOLE=NO
RSA_LOG_TO_FILE=YES
RSA_LOG_FILE=/var/lib/nysid/bundles/tomcat-7.0.42/webapps/rsaLogin/WEB-INF/classes/my_api_events.log
RSA_LOG_LEVEL=INFO
RSA_LOG_FILE_SIZE=1MB
RSA_LOG_FILE_COUNT=10
RSA_CONNECTION_TIMEOUT=60
RSA_READ_TIMEOUT=60
RSA_CONFIG_DATA_LOC=/var/lib/nysid/bundles/tomcat-7.0.42/webapps/rsaLogin/WEB-INF/Agents/Artifacts/
RSA_ENC_ALGLIST=AES/16,AES/24,AES/32
Following is my RSAAuthUserBean class where I am trying to create rsa agent api. Above exception occurred while creating api (api = AuthSessionFactory.getInstance(path))
public RSAAuthUserBean() throws Exception
private AuthSessionFactory api = null;
{
io = new ConsoleIO();
try
{
String path = "/var/lib/nysid/bundles/tomcat-7.0.42/webapps/rsaLogin/WEB-INF/rsa_api.properties";
io.outputLn("Creating api");
api = AuthSessionFactory.getInstance(path)
}
catch (AuthAgentException e)
{
io.outputLn("Can't create api: " + e.getMessage());
throw e;
}
}
Any help would be highly appreciated.
Thanks,
Rajesh
Hi Raj - it would be helpful to know the API and Auth Manager versions being used.
Thanks,
Ted