LDAP connection error over SSL
Hi All,
In the servers we are unable to create LDAP connection over SSL(port 636). ADAM server has valid certificates under Computer\Personal folder. Network service has required permissions on the machine keys.
Error details: ld = ldap_sslinit("tmachn1.dnsroot.biz", 636, 1);
Error <0x0> = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, LDAP_VERSION3);
Error <0x51> = ldap_connect(hLdap, NULL);
Server error: <empty>
Error <0x51>: Fail to connect to machn1.dnsroot.biz.
1220 error in event viewer.
Error Details:
Source: ADAM Category: LDAP instance
LDAP over Secure Sockets Layer (SSL) will be unavailable at this time because the server was unable to obtain a certificate.
Additional Data
Error value:
8009030e No credentials are available in the security package
This is causing login issues to SharePoint external users through ECTS. Certificates are ok.
Your help will save me a lot. Please advice on this.
June 27th, 2011 9:54am
Hi V235,
Thanks for posting here.
> ADAM server has valid certificates under Computer\Personal folder. Network service has required permissions on the machine keys.
How did you import the certificate to this domain controller host ?
Please refer to Kurt L Hudson’s blog post and his TechNet wiki article and recheck your settings:
Implementing LDAPS (LDAP over SSL)
http://blogs.technet.com/b/pki/archive/2011/06/02/implementing-ldaps-ldap-over-ssl.aspx
Thanks.
Tiger Li
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2011 11:45am
Hi Tiger Li,
Thanks for reply... i got it resolved by clearing the old certificates and Installing the new certificate.
________
Regards
Venkat
June 28th, 2011 12:43pm