Secure LDAP problems

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Secure LDAP problems

    OK, I am tired of beating my head against the wall, so I am asking for help. I
    have a Windows 2000 server with MX6.1. I am currently using CFLDAP queries
    without any problems using unsecure port 389). I am trying to secure the LDAP
    communications with SSL. The certificate was signed by our Novell LDAP server
    itself (we did not use an outside CA like Verisign.) I have added the
    parameters PORT='636' SECURE='CFSSL_BASIC' to my CFLDAP tags. I keep getting
    the error 'Connection to LDAP Server failed'. I found a Technote
    ([url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19139[/url]) on
    importing the cert with the keytool command. The certificate seems to import
    without any problems, and I can view it with the 'keytool -list -keystore
    cacerts -alias ldapserver-cert' command with no problems. I don't know what
    else to try. I have googled high and low. I have downloaded the 'LDAP browser
    by Jarek Gawor' applet and can connect securely to the LDAP server after
    hitting 'This session Only' button to the 'Do you want to trust the following
    CA certificate:....' What am I missing here? This can't be that difficult....
    Thanks to anyone who can shed some light. Dan

    Dmadzia Guest

  2. Similar Questions and Discussions

    1. Problems connecting to with secure server
      I want to use contribute to edit a website, but everytime I try to connect it fails to connect. I get the error message "make sure you have the...
    2. Secure PDF's merged into 1 document from 2 different Secure Files, possible?
      I have multiple Secured PDF files that I have created. There is a possibility that my end user will need to merge multiple PDF files into 1 main PDF,...
    3. secure intranet site with non secure sites?
      I log into a domain open an secure intranet site and then when I go to yahoo.com it messes up my secure intranet site that I have open. Cant...
    4. "Microsoft must deliver 'secure environments' not tools to write 'secure code'" : draft article
      Hello Please see bellow the final draft of an article soon to be published. I would appreciate your comments and corrections of anything that I...
    5. whats the best way to mix secure and non secure data on a page?
      i have an ecommerce site that is split across two domains, a secure space that retains cc details and the main site where contact information and...
  3. #2

    Default Re: Secure LDAP problems

    Originally posted by: Dmadzia
    OK, I am tired of beating my head against the wall, so I am asking for help. I
    have a Windows 2000 server with MX6.1. I am currently using CFLDAP queries
    without any problems using unsecure port 389). I am trying to secure the LDAP
    communications with SSL. The certificate was signed by our Novell LDAP server
    itself (we did not use an outside CA like Verisign.) I have added the
    parameters PORT="636" SECURE="CFSSL_BASIC" to my CFLDAP tags. I keep getting
    the error "Connection to LDAP Server failed". I found a Technote
    ([url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19139[/url]) on
    importing the cert with the keytool command. The certificate seems to import
    without any problems, and I can view it with the "keytool -list -keystore
    cacerts -alias ldapserver-cert" command with no problems. I don't know what
    else to try. I have googled high and low. I have downloaded the "LDAP browser
    by Jarek Gawor" applet and can connect securely to the LDAP server after
    hitting "This session Only" button to the "Do you want to trust the following
    CA certificate:...." What am I missing here? This can't be that difficult....
    Thanks to anyone who can shed some light. Dan

    I am having the same type of problem with securely connecting CFLDAP to a
    Novell 6.5 box. I am running on Windows XP Professional with CFMX 7 and Apache
    2.0.54. I have done everything mentioned in the previous post (including
    beating my head against the wall) with no luck. The only other problem that I
    am having is getting CF to use SSL, I get "JRun Connector Protocol Error." when
    I enable SSL on CF. This happens whether Apache SSL is on or off.

    Any help is appreciated.

    Thanks
    Chris Brown

    boogey__man Guest

  4. #3

    Default Re: Secure LDAP problems

    I was finally able to figure out my SSL problems. The Tech Notes do not
    specially tell you the the KeyTool program inserts the certificate into a file
    called cacerts in the SAME directory the KeyTool program resides. To get it to
    work properly, I had to copy the existing CACERTS file under my Windows
    C:\CFusionMX7\runtime\jre\lib\security directory to where the KeyTool lives
    (C:\CFusionMX7\runtime\jre\bin on my server), run the Keytool program to insert
    my certificate into the CACERTS file, then copy the CACERTS back to its
    original directory (security directory). The Cold Fusion services then need
    restarted.
    That is how I was able to get mine working. Good Luck! Dan.

    Dmadzia Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139