This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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.
I agree. Here's the link:
subject: SSL into eDirectory
It's not a secret anymore!