This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Security and the fly likes SSL into eDirectory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "SSL into eDirectory" Watch "SSL into eDirectory" New topic

SSL into eDirectory

Brian Smith
Ranch Hand

Joined: May 20, 2005
Posts: 63
I am trying to authenticate against a Novell eDirectory using SSL. I have already loaded the server's certificate into a keystore. This is code I found on Novell's site. I am not a very experienced java programmer but I think I can pretty much follow what this code is doing. The Anonymous bind routine works. Neither of the Simple binds do, I get this error with both

Error: LDAPException: Confidentiality Required (13) Confidentiality Required
LDAPException: Matched DN:

With the SSL routine, the bind fails but I get no error back, just the message "Not authenticated to the server" when the isBound property evaluates to false. Any help would be appreciated.

As far as I know, I am supplying the appropriate credentials to the server.

Brian Smith
Ranch Hand

Joined: May 20, 2005
Posts: 63
Correction, the anonymous bind is not working, I was mistaken. It may yet have some to do with the credentials I am supplying.
subject: SSL into eDirectory
jQuery in Action, 3rd edition