Basically i have an application that sits on JBoss which needs to connect to a LDAP server. (OS is Windows XP Pro) I started the JBoss with run.bat -c all -b 192.168.1.1.
I have no problem connecting to the LDAP server without SSL. The problem only surface when the LDAP server is setup with SSL, i have trouble connecting to the LDAP server. The following is the error message.
javax.naming.CommunicationException: simple bind failed: 192.168.1.100:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]
I have google about configuring JBoss and LDAP and stumbled upon http://docs.jboss.org/jbportal/v2.6.2/referenceGuide/html/ldap.html . Do I really need a JBoss Portal to setup with LDAP??
Could anyone out there help me out with this?? Am i missing out any configuration on JBoss??
Any advice would be greatly appreciated. Many thanks in advance.
Kevin