File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Connecting to LDAP server using SSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Connecting to LDAP server using SSL" Watch "Connecting to LDAP server using SSL" New topic

Connecting to LDAP server using SSL

Prak Sub

Joined: May 21, 2004
Posts: 4
I receive following error message (during SSL based connection with the LDAP server):

Could not find trusted cert in chain.
main, SEND SSL v3.1 ALERT: fatal, description = certificate_unknown
main, WRITE: SSL v3.1 Alert, length = 2

I have CA certifictes trusted on keystore; I can see them when using

keytool -list

C:\ldapbrowser>keytool -list
Enter keystore password: changeit

Keystore type: jks
Keystore provider: SUN

Your keystore contains 2 entries:

Any pointers on what I am missing to make a successful connection?

I agree. Here's the link:
subject: Connecting to LDAP server using SSL
It's not a secret anymore!