aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "SSL into eDirectory" Watch "SSL into eDirectory" New topic
Author

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.
 
Don't get me started about those stupid light bulbs.
 
subject: SSL into eDirectory