As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
openssl s_client -showcerts -connect "serveur:636" /etc/ssl/certs/serveur.pem
/opt/jre1.5.0_07/bin/keytool -import -file /etc/ssl/certs/serveur.pem
[08/Jul/2006:19:03:53 +0200] conn=9860 fd=130 slot=130 SSL connection from ip_alfresco to ip_servldap[08/Jul/2006:19:03:53 +0200] conn=9860 op=-1 fd=130 closed - SSL peer had some unspecified issue with the certificate it received.
openSSL> s_client –connect serveur_url ort -showcerts
—–BEGIN CERTIFICATE—–*********—–END CERTIFICATE—–
%JAVA_HOME/bin/keytool.exe -import -file mon_cert.cer
set CATALINA_OPTS=-Djavax.net.ssl.trustStore=chemintrouceau -Djavax.net.ssl.trustStorePassword=***
<beans> <bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.ldap.LDAPAuthenticationComponentImpl"> <property name="LDAPInitialDirContextFactory"> <ref bean="ldapInitialDirContextFactory"/> </property> <property name="userNameFormat"> <value>cn=%s,ou=**,ou=**,o=**</value> </property> </bean> <bean id="ldapInitialDirContextFactory" class="org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl"> <property name="initialDirContextEnvironment"> <map> <entry key="java.naming.security.protocol"> <value>ssl</value> </entry> <entry key="java.naming.factory.initial"> <value>com.sun.jndi.ldap.LdapCtxFactory</value> </entry> <entry key="java.naming.provider.url"> <value>ldap://**.**.**:636</value> </entry> <entry key="java.naming.security.authentication"> <value>simple</value> </entry> <entry key="java.naming.security.principal"> <value>**</value> </entry> <entry key="java.naming.security.credentials"> <value>**</value> </entry> </map> </property> </bean> </beans>