Application Server Solutions for Microsoft IIS and ASP.NET
       solutions   products   partners   company   support   downloads         store
ServletExec Self-Help: FAQ
Back to Search >  Back to Search Results

Faq ID 377
Product BlueDragon
Category General Info, Security
Question With BD.NET, can the CFLDAP tag be used with SSL?
Answer The CFLDAP tag can be used with SSL using the following steps:
  1. In the CFLDAP tag, set the port attribute to the value of the LDAP server's SSL port. The default port for SSL with LDAP is 636.
  2. In the CFLDAP tag, set the secure attribute to CFSSL_BASIC.
  3. Install the LDAP server's certificate into your computer's certificate store. This is described at http://technet.microsoft.com/en-us/library/cc725849.aspx.

If you don't install the LDAP server's certificate in your computer's certificate store then you'll receive the following General Runtime Error:

javax.naming.NamingException, javax.naming.NamingException, Failed to connect to LDAP server (url = LDAP://test.newatlanta.com:636/ou=People, dc=newatlanta, dc=com) - The server is not operational. ; ROOT CAUSE=Failed to connect to LDAP server (url = LDAP://test.newatlanta.com:636/ou=People, dc=newatlanta, dc=com) - The server is not operational.

If you hit a non-SSL port with secure set to CFSSL_BASIC then you'll receive the following General Runtime Error:

javax.naming.NamingException, javax.naming.NamingException, Failed to connect to LDAP server (url = LDAP://test.newatlanta.com:389/ou=People, dc=newatlanta, dc=com) - The server is not operational. ; ROOT CAUSE=Failed to connect to LDAP server (url = LDAP://test.newatlanta.com:389/ou=People, dc=newatlanta, dc=com) - The server is not operational.



   
company media information terms of use privacy policy contact us