Skip to main content
November 23, 2009
Question

CFLDAP and SSL

  • November 23, 2009
  • 1 reply
  • 1699 views

Hello~

I am trying to connect to Active Directory through SSL, using the CFLDAP tag. I am able to connect through any computer, but when I run my CFLDAP query, I get this message: "Connection to LDAP server failed."

Any suggestions would be greatly appreciated!

Here is my query:

<cfldap
       
action="query"
       
server="#server#"
       
attributes="displayName"
       
name="getUser"
       
password="#thepassword#"
       
port="636"
       
scope="subtree"
       
secure="cfssl_basic"
       
start="#start#"
       
username="#theusername#" />
    This topic has been closed for replies.

    1 reply

    Inspiring
    November 24, 2009

    Hi,

    Have you imported the certificate properly (using the keytool command)?.

    If not, you can follow a good tutorial here,

    http://www.talkingtree.com/blog/index.cfm?mode=entry&entry=25AA75A4-45A6-2844-7CA3EECD842DB576

    December 7, 2009

    Yes, I have imported it using the keytool process, and verified that they were saved in the keystore, and have also imported it

    into the truststore as well. I still get "Connection to LDAP server failed." Any more suggestions? Thanks!

    KC