Dashboard > Confluence User Guides and Documents > ... > LDAP FAQ > Connect to LDAP via SSL
Connect to LDAP via SSL Log In   View a printable version of the current page.

Added by nick@atlassian.com, last edited by ivan@atlassian.com on Jul 26, 2007  (view change) show comment
Labels: 

Atlassian User LDAP supports connecting to an LDAP server over SSL/HTTPS.

  1. Import your LDAP server's public certificate into the [Confluence JVM keystore]

  2. Edit the file in your Confluence install directory, \confluence\WEB-INF\classes\atlassian-user.xml and set the <securityProtocol>ssl</securityProtocol>

  3. Switch the LDAP connection to the SSL port if different from the default LDAP port. If you're using the most common LDAPS port, set <port>636</port>

  4. Add the self-signed root certificate to your default Java keystore with the following command:
    keytool -import -alias serverCert -file <RootCertificate.crt> -keystore %JRE_HOME%/lib/security/cacerts
    

    The keytool will ask you for a password. The default password is "changeit" without the quotes

  5. Verify that the certificate has been added successfully by entering the following command:
    keytool -list -keystore %JRE_HOME%/lib/security/cacerts
    
DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.1 Build:#916 Nov 09, 2007) - Bug/feature request - Contact Administrators