Tuesday, January 5, 2010

Client connecting to Weblogic SSL port

Configuring Weblogic Security


Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, "t3s://weblogic:7002");
env.put(Context.SECURITY_PRINCIPAL, "javaclient");
env.put(Context.SECURITY_CREDENTIALS, "javaclientpassword");
ctx = new InitialContext(env);




WLST Client has to configure trust using these properties:
java -Dssl.debug=true -Dweblogic.security.CustomTrustKeyStoreFileName=c:\app\cert\ServerTrust.jks
-Dweblogic.security.TrustKeyStore=CustomTrust
-Dweblogic.security.SSL.trustedCAKeyStore=c:\app\cert\ServerTrust.jks
weblogic.WLST connectSSL.py


http://download.oracle.com/docs/cd/E12839_01/web.1111/e13711/ssl_client.htm#i1067487

No comments:

Post a Comment