
FAIHO88065 (Customer) asked a question.
String jksPath = "C:/Users/lk241/Desktop/RSA/temp/client-identity.jks";
String trusKeystoreJks = "C:/Users/lk241/Desktop/RSA/temp/AppTrust.jks";
String certPwd = "JNZinB2qpd";
Properties properties = new Properties();
properties.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
properties.put( Context.PROVIDER_URL, "t3s://ehrrsa2a.serverdev.ehr.gov.hk:7002" );
properties.put( "ims.ssl.client.identity.keystore.filename", jksPath );
properties.put( "ims.ssl.client.identity.key.alias", "client-identity" );
properties.put( "com.rsa.ssl.client.id.store.password", "AAAA" );
properties.put( "com.rsa.ssl.client.id.key.password", "BBB" );
properties.put( Context.SECURITY_CREDENTIALS, "CCCC" );
properties.put( Context.SECURITY_PRINCIPAL, "DDDD" );
properties.put( "ims.ssl.client.trust.keystore.password", "EEEE" );
properties.put( "ims.ssl.client.trust.keystore.filename", trusKeystoreJks);
properties.put( "com.rsa.naming.ssl.server.name", "rsa.serverdev.somehost.com" );
String name = "EEE";
String pwd = "FFFF";
System.out.println("1---------------");
System.out.println("2---------------");
Connection conn = ConnectionFactory.getConnection(properties);
System.out.println("3---------------"+conn);
ClientSession session = conn.connect(name, pwd);
System.out.println("4---------------"+session);
@FAIHO88065 (Customer) ,
We would need more context to assist you in resolving this issue. Please contact technical support so we can open a case and work with you to review logs, etc.