Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C26C517408 for ; Wed, 5 Nov 2014 18:16:45 +0000 (UTC) Received: (qmail 65561 invoked by uid 500); 5 Nov 2014 18:16:45 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 65528 invoked by uid 500); 5 Nov 2014 18:16:45 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 65516 invoked by uid 99); 5 Nov 2014 18:16:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2014 18:16:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of syed.mudassir@gaiatv.in designates 209.85.192.47 as permitted sender) Received: from [209.85.192.47] (HELO mail-qg0-f47.google.com) (209.85.192.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2014 18:16:18 +0000 Received: by mail-qg0-f47.google.com with SMTP id j107so12489940qga.6 for ; Wed, 05 Nov 2014 10:16:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Z7l3DJpNrLgnAKzE3mfMHYDd+nFeNCOfq03rr9L9+bE=; b=KFIaMC+FWQDX+rzJMHeOT4AFL5EvKR0auxO8uI3K3etM4tGhGHvfzqm2DizTWJffNv ohwczxJmXMWntXZmYZtnqvEqAry8onaZ7CaZjsd+n6kP1gJBsAzCdC6rY2oa+eq0PJG+ mXUl/Lh0YuvSYD/7+KUiNe5gyieLOdLrxtml19nGex7wHIqLoYArFJoZgUh+axHnTXvp L2rXkwr8TmxAPL+R96QjiNN3n7ivWMHiyKnVxX5yPL4wHC2xXGGl1Q19pon3gNz4vzb8 KN7CD585A8uA/87tGqBPLyo/D6xKn3IMsm4S8bZtN9lyiHp40+TkCT7ZTFhQNgekt1LB /ryw== X-Gm-Message-State: ALoCoQlD3U3kEFVRL3MrirgrzG0ohKzRMSLptFbHdY1Hwkfxhv5AeWe5D6Awyj+prguqnHOToT0s MIME-Version: 1.0 X-Received: by 10.140.95.225 with SMTP id i88mr84657982qge.2.1415211374217; Wed, 05 Nov 2014 10:16:14 -0800 (PST) Received: by 10.140.36.210 with HTTP; Wed, 5 Nov 2014 10:16:14 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Nov 2014 23:46:14 +0530 Message-ID: Subject: Re: Secured LDAP Account From: Syed Mudassir Ahmed To: users@directory.apache.org Content-Type: multipart/alternative; boundary=001a11c163603e24ce0507209384 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c163603e24ce0507209384 Content-Type: text/plain; charset=UTF-8 No, I don't. Good question. I have no idea as well. Can you please provide an example/reference that I can follow? Thanks, Syed. Syed M Ahmed Senior Member of Technical Staff Gaian Solutions India Pvt Ltd On Wed, Nov 5, 2014 at 10:31 PM, Ike Ikonne wrote: > Hi Syed, > > So, in your Java program, do you have the server certificate in the > keystore that your Java program is using to establish SSL connection > with the LDAP server? > > Thanks, > > Ike > > > > > From: Syed Mudassir Ahmed > To: users@directory.apache.org, > Date: 11/05/2014 10:57 AM > Subject: Re: Secured LDAP Account > > > > Yes, > Certificate is generated on the server side. And port is 636. > I am able to connect to my server through LDAPBrowser using LDAPS > protocol and 636 port number. > But not using java program. > > Thanks, > Syed. > > Syed M Ahmed > Senior Member of Technical Staff > Gaian Solutions India Pvt Ltd > > > On Wed, Nov 5, 2014 at 9:56 PM, Ike Ikonne wrote: > > > Hi all, > > > > Do you have the LDAP Server certificate included in your > > TrustManager Algorithm? Also, make sure that you are using > > secure socket to bind to port 636. > > > > Ike > > > > > > > > > > From: Syed Mudassir Ahmed > > To: users@directory.apache.org, > > Date: 11/05/2014 10:14 AM > > Subject: Secured LDAP Account > > > > > > > > I am trying to obtain an ldap connection. Using port 389 I am > > successfully > > able to get connection. > > But when I try to use LdapNetworkConnection(, 636, true) and > > then invoke bind(dn, password), I am getting PROTOCOL_ERROR. > > Using LdapBrowser I am able to connect to my LDAP server over port 636. > > But through Java program its not getting connected. Can u help? > > > > Thanks, > > Syed. > > > > Syed M Ahmed > > Senior Member of Technical Staff > > Gaian Solutions India Pvt Ltd > > > > > > --001a11c163603e24ce0507209384--