Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of Building Microservices this week in the Design forum!
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?

Have you checked out Aspose?
subject: Connecting to LDAP server using SSL
It's not a secret anymore!