How to Establish an SSL Connection Using LDAP Browser 2.6

This article concerns LDAP Administrator (http://www.ldapadministrator.com) versions 2.x or LDAP Browser (http://ldapbrowser.com) versions 2.x. Having an LDAP server profile created with the SSL configuration enabled, you still can't connect to the server. As a result, '[error 81] Can't contact LDAP server' is displayed. This kind of behavior occurs due to the absence of necessary SSL certificates in the certificate database, or the absence of the certificate database itself. You will need to create and populate a certificate database containing the necessary certificates manually. To do this, keep reading for detailed instructions.

Steps

  1. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 1
    1
    Download and install the Netscape web browser version 4.x. Note that it's vital to use version 4.x - later version like 5+ or Firefox use newer certificate store format which is incompatible with the version used by LDAP Browser 2.x.
  2. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 2
    2
    Run the Netscape browser.
  3. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 3
    3
    Open URL: https://yourserver:sslport/, where: yourserver - Your LDAP server address, provided it is an IP or host name. For example: 192.168.234.33 or ldap.mycompany.com. sslport - A TCPIP port number used by your server to accept SSL connections. Usually his port number is 636.
  4. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 4
    4
    You'll see the Netscape Certificate Name Check window. Follow the instructions provided there and accept the server certificate for this and future sessions.
  5. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 5
    5
    Close the Netscape browser
  6. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 6
    6
    Copy the key3.db and cert7.db files from the Netscape user profile directory to the LDAP Administrator or LDAP Browser root directory.
  7. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 7
    7
    Restart LDAP Administrator or LDAP Browser.
  8. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 8
    8
    Open the server profile.
  9. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 9
    9
    Change Port number at the General tab. Press Apply.
  10. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 10
    10
    Check the Try to use SSL box at the LDAP Settings tab. Press Apply.
  11. Image titled Establish an SSL Connection Using LDAP Browser 2.6 Step 11
    11
    Press OK.

Article Info

Categories: Internet Browsers | Networking