06-18-2010 06:35 AM
[org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] Unable to connect to LDAP Server; check LDAP configuration
Caused by: java.io.IOException: Invalid keystore format
keytool -import -alias FQDN.OF.YOURSERVER -keystore /etc/java/keystore -file YOURCERTIFICATE.der
-Djavax.net.ssl.trustStore=/etc/java/keystore
# The URL to connect to the LDAP server
ldap.authentication.java.naming.provider.url=ldaps://ldap.mon.serveur.fr:636
# The authentication mechanism to use
ldap.authentication.java.naming.security.authentication=simple
06-22-2010 08:01 AM
ldapsearch -x -v -H 'ldaps://localhost:636/' -b 'ou=person,dc=test,dc=alfresco,dc=com' -D 'uid=romain,ou=person,dc=test,dc=alfresco,dc=com' -W
TLS_REQCERT allow
keytool -list -keystore /opt/java/jdk1.6.0_20/jre/lib/security/cacerts -storepass changeit
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.