[Date Prev][Date Next] [Chronological] [Thread] [Top]

How to fetch ca server certificate from LDAP server using library call

Is there any way to fetch the CA certificate from LDAP server using OpenLDAP C SDK?
I am using openldap-2.0.3 libraries.
Consider that the AAA server is running securely with following files:
1. server certificate
2. ca certficate
3. server key
On client side, how do I get the ca certficate? I don't want to copy it manually by doing scp/http.
Is there any library call available to accomplish this?
Please help.