This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSL into eDirectory
 
Similar Threads
Websphere & LDAP servlet
Error occured while modifying "pwdLastSet" attribute in Active Directory
(how to) Read entries from LDAP? getting server down error
Convert to UTF-8.
what's the difference between java sdk and ms outlook when connecting to ldap?