Navigation Links Back to top

Apache Directory SSL



This section enables apacheds LDAPS for usage in this tutorial. More info can be found on the project's website: Enabling SSL on apacheds.

Steps to Enable

  1. Copy keystore created during Managing PKI Keys to ApacheDS conf folder.
                        

    sudo cp mykeystore /var/lib/apacheds-2.0.0-M20/default/conf

  2. Ensure the apacheds daemon has permission to access the file:
                        

    sudo chown apacheds /var/lib/apacheds-2.0.0-M20/default/conf/mykeystore

  3. Start the Apache directory studio process.

  4. From the LDAP Browser perspective, under the Connections tab, right-click on your connection, and select 'Open Configuration'.




  5. This will open a new tab. Enter fully qualified file name of mykeystore, as it resides on apacheds server machine, under 'Advanced LDAP/LDAPS configuration' link. Enter the keystore password Hit Ctrl-S to save changes..




  6. Restart ApacheDS server, from system command prompt (as apacheds user):
                

    /etc/init.d/apacheds-2.0.0-M20-default restart

  7. Check the status of server process. From system command prompt (as apacheds user):
                

    /etc/init.d/apacheds-2.0.0-M20-default status ApacheDS - default is running (70041).

    Verify server restarted successfully. Errors in the keystore or password will cause server startup to fail. Check the logs for details. Common errors include incorrect file name, location, permission and password.

This is free and unencumbered software released into the public domain.