<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Active Directory over SSL in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62159#M21576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm in the middle of my first Alfresco installation and configuration and need some assistance configuring Alfresco to work with Active Directory over SSL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a summary of what I've done so far:&lt;/P&gt;&lt;P&gt;- Exported the certificate from my AD server&lt;/P&gt;&lt;P&gt;- Imported the cert into the default keystore: C:\alfresco-current\alf_data\keystore\ssl.keystore via the command:&lt;/P&gt;&lt;P&gt;keytool -importcert -alias&amp;nbsp;myad.mydomain -file cert.crt -keystore C:\alfresco-current\alf_data\keystore\ssl.keystore -storetype JCEKS (was I supposed to import this cert into the default keystore?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alfresco-global.properties&lt;/P&gt;&lt;P&gt;### LDAP Configuration ###&lt;BR /&gt; &lt;BR /&gt;authentication.chain=alfinst:alfrescoNtlm,ldap1:ldap-ad&lt;BR /&gt;ntlm.authentication.sso.enabled=false&lt;BR /&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;# Disable guest logins&lt;BR /&gt;&lt;A class="jive-link-email-small" href="https://migration33.stage.lithium.com/" rel="nofollow noopener noreferrer"&gt;ldap.authentication.userNameFormat=%s@domain.com&lt;/A&gt;&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldaps://myserver.mydomain:636&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=svc-alfresco&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=svc-alfresco&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=&amp;lt;redacted&amp;gt;&lt;BR /&gt;ldap.synchronization.groupSearchBase=OU=SecurityGroups,OU=Groups,OU=Accounts,DC=mydomain&lt;BR /&gt;ldap.synchronization.userSearchBase=OU=Users&lt;SPAN&gt;,OU=Groups,OU=Accounts,DC=mydomain&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's the error I'm seeing in the alfresco.log:&lt;BR /&gt;2018-05-31 13:37:46,122 ERROR [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] [localhost-startStop-1] Unable to connect to LDAP Server; check LDAP configuration&lt;BR /&gt;javax.naming.CommunicationException: simple bind failed: myad.mydomain:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]&lt;BR /&gt; at com.sun.jndi.ldap.LdapClient.authenticate(Unknown Source)&lt;BR /&gt; at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)&lt;BR /&gt; at com.sun.jndi.ldap.LdapCtx.&amp;lt;init&amp;gt;(Unknown Source)&lt;BR /&gt; at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)&lt;BR /&gt; at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)&lt;BR /&gt; at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)&lt;BR /&gt; at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)&lt;BR /&gt; at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)&lt;BR /&gt; at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)&lt;BR /&gt; at javax.naming.InitialContext.init(Unknown Source)&lt;BR /&gt; at javax.naming.InitialContext.&amp;lt;init&amp;gt;(Unknown Source)&lt;BR /&gt; at javax.naming.directory.InitialDirContext.&amp;lt;init&amp;gt;(Unknown Source)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've been trying to piece all the documentation together to try to troubleshoot this issue, but I'm not getting very far and could use some help from some experienced users in where to go from here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2018 18:12:14 GMT</pubDate>
    <dc:creator>mjt99</dc:creator>
    <dc:date>2018-05-31T18:12:14Z</dc:date>
    <item>
      <title>Active Directory over SSL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62159#M21576</link>
      <description>Good day,I'm in the middle of my first Alfresco installation and configuration and need some assistance configuring Alfresco to work with Active Directory over SSL.Here's a summary of what I've done so far:- Exported the certificate from my AD server- Imported the cert into the default keystore: C:\</description>
      <pubDate>Thu, 31 May 2018 18:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62159#M21576</guid>
      <dc:creator>mjt99</dc:creator>
      <dc:date>2018-05-31T18:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory over SSL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62160#M21577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ssl.keystore is only used for communication between Repository and SOLR. It is inconsequential for communication with LDAP / AD over SSL. In order to use LDAPS, the subsystem provides its own properties for configuring a specific keystore as the truststore. Look for the "ldap.authentication.truststore.xx" settings in the &lt;A href="https://docs.alfresco.com/5.2/concepts/auth-ldap-props.html" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt;. Of course you could re-use the ssl.truststore for this and add the certificate for the Active Directory server (or for the signing CA) in there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 09:39:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62160#M21577</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-06-01T09:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory over SSL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62161#M21578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Axel.&amp;nbsp; I've got the Active Directory integration working now over SSL. I did a reinstall of Alfresco to restore the ssl.keystore to it's original state and imported the AD cert into a ldap.keystore file. After an issue with needing to use escape characters in the alfresco-global.properties file to point to the new keystore file everything started up properly with no errors in the log.&amp;nbsp; I was then able to login using my AD account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll now mark this question as solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 14:58:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62161#M21578</guid>
      <dc:creator>mjt99</dc:creator>
      <dc:date>2018-06-01T14:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory over SSL</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62162#M21579</link>
      <description>&lt;P&gt;sir can i see your config in alfresco.global.properties&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 16:34:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/active-directory-over-ssl/m-p/62162#M21579</guid>
      <dc:creator>crisdev13</dc:creator>
      <dc:date>2023-07-14T16:34:12Z</dc:date>
    </item>
  </channel>
</rss>

