We've been through THIS process to create an SSL and Root Certificate and installed them on the server and that does not seem to have made any difference.
ld = ldap_sslinit("dc1.domain.local", 636, 1); Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3); Error 0 = ldap_connect(hLdap, NULL); Error 0 = ldap_get_option(hLdap,LDAP_OPT_SSL,(void*)&lv); Host supports SSL, SSL cipher strength = 256 bits Established connection to dc1.domain.local. Retrieving base DSA information... Getting 1 entries: Dn: (RootDSE) <blarb from here removed> -----------
Our Primary DC is a Server 2008 R2 box, we have a secondary that's 2012 R2 and a further 3 at remote sites and 2 in Azure (don't know if this would make any difference at all, but thought it worth mentioning).
ld = ldap_sslinit("dc1", 636, 1); Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3); Error 81 = ldap_connect(hLdap, NULL); Server error: <empty> Error <0x51>: Fail to connect to dc1.
From novice to tech pro — start learning today.