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 <[email protected]>
To:     [email protected], 
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 <[email protected]> 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 <[email protected]>
> To:     [email protected],
> 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(<IP Address>, 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
>
>

Reply via email to