Check_ldaps: not bind

Hi there,
i have a problem with check_ldaps
Check_ldap on port 389 no problem
But when i use the check_ldaps - H xxxxxx
-b “cn=user,o=xx,o=xx,dc=xx,dc=xx”
-D “cn=user,o=xx,o=xx,dc=xx,dc=xx” -P xxx -p 636 -S

The answer from nagios is :
"Could not bind to the ldap-server "

But from ldap-browser for example i could login ok.

Then what is the problem witch check ldap?

Anyone knows a perl aplication to test the conections?

Nagios logs are insuficients to detect the problem…

Thanks

With -v show me that:

ldap_bind: Can’t contact LDAP server (-1)
additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Could not bind to the ldap-server