Is your certificate signed by a trusted CA (generally certificates such as Verisign, etc. are trusted)? If it isn't, you will need to add the certificate to your JVM's cacerts file, generally with a command such as the following:
%JAVA_HOME%\bin\keytool -import -file server.crt -keystore %JAVA_HOME%\jre\lib\security\cacerts where server.crt is the certificate file for your LDAP server. -Scott VALOIS, Pascal wrote: >>1. Obtain the latest version of LdapTemplate >>(http://ldaptemplate.sf.net) [be sure that you have all the required >>dependencies too] >>2. Obtain the CAS LDAP handlers >>(http://developer.ja-sig.org/maven/cas/jars/cas-server-ldap-3.0.5-rc3.jar) >> >>Place both of those jars in the localPlugins/lib directory. >> >>Modify your wbapp/WEB-INF/deployerConfigContext.xml. >> >>I recommend you follow the example configuration file we have: >>http://developer.ja-sig.org/source/browse/jasig/cas3/adaptors/ldap/src/main/resources/deployerConfigContext.xml?r=1.1 >> >> >> > >thanks, it worked perfectly. > >now, cas connect the ldap server w/ tls and it complains about the fact >that the certificate is unknown. > >have you ever had this problem ? > >Pascal. > > >_______________________________________________ >Yale CAS mailing list >[email protected] >http://tp.its.yale.edu/mailman/listinfo/cas > > _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
