Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LDAP trustSTore file name of null

52 views
Skip to first unread message

vara...@gmail.com

unread,
Feb 11, 2008, 3:59:39 AM2/11/08
to
We are using LDAP (for AD) Set up a truststore file in WAS 6.0 and its working but when we switch to WAS 6.1 (or even WAS 6.0.2), its not working. We have also set the System property as follows<br />
System.setProperty("javax.net.ssl.keyStore", "xyz.jks").<br />
Any thoughts?<br />
<br />
This is the error....<br />
<br />
Exception = java.lang.IllegalArgumentException<br />
Source = com.ibm.ws.ssl.provider.AbstractJSSEProvider<br />
probeid = 458<br />
Stack Dump = java.lang.IllegalArgumentException: Invalid trust file name of null<br />
at com.ibm.ws.ssl.provider.AbstractJSSEProvider.getKeyTrustManagers(AbstractJSSEProvider.java:329)<br />
at com.ibm.ws.ssl.provider.AbstractJSSEProvider.getSSLContext(AbstractJSSEProvider.java:151)<br />
at com.ibm.ws.ssl.provider.AbstractJSSEProvider.getSSLSocketFactory(AbstractJSSEProvider.java:740)<br />
at com.ibm.websphere.ssl.JSSEHelper.getSSLSocketFactory(JSSEHelper.java:574)<br />
at com.ibm.websphere.ssl.protocol.SSLSocketFactory.(SSLSocketFactory.java:87)<br />
at java.lang.Class.newInstanceImpl(Native Method)<br />
at java.lang.Class.newInstance(Class.java:1263)<br />
at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:9)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />
at java.lang.reflect.Method.invoke(Method.java:615)<br />
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:295)<br />
at com.sun.jndi.ldap.Connection.(Connection.java:209)<br />
at com.sun.jndi.ldap.LdapClient.(LdapClient.java:133)<br />
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1593)<br />
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2611)<br />
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:298)<br />
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:190)<br />
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:208)<br />
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151)<br />
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:81)<br />
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:679)<br />
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:259)<br />
at javax.naming.InitialContext.init(InitialContext.java:235)<br />
at javax.naming.InitialContext.(InitialContext.java:209)<br />
at com.hi.ehouse.services.jndi.JNDIHelper.createInitialDirContext(JNDIHelper.java:300)<br />
.....

Paul Ilechko

unread,
Feb 11, 2008, 8:41:00 AM2/11/08
to
vara...@gmail.com wrote:
> We are using LDAP (for AD) Set up a truststore file in WAS 6.0 and its working but when we switch to WAS 6.1 (or even WAS 6.0.2), its not working. We have also set the System property as follows<br />
> System.setProperty("javax.net.ssl.keyStore", "xyz.jks").<br />
> Any thoughts?<br />
> <br />

The entire SSL infrastructure has changed in WAS 6.1 ... did you try
reading the documentation?

vara...@gmail.com

unread,
Feb 12, 2008, 4:06:35 AM2/12/08
to
Hi Paul..<br />
<br />
Can you please give me the path for that document?<br />
Thanks in advance

Paul Ilechko

unread,
Feb 12, 2008, 9:02:51 AM2/12/08
to

It's in the WAS infocenter, there's no single document.

0 new messages