Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a PHP site running in IIS and I want to auth my users against my corporate Domain Controller. Running phpinfo() shows my install is using OpenLDAP version 20319. I can auth just fine when I go to the domain controller over ldap://, but if I try ldaps://, it fails.

I read somewhere something about an ldap.conf file, but can't find that on my server. I believe that I need to set up a certificate somewhere and tell php to use that certificate somehow, but I need some help with the details.

share|improve this question

migrated from Apr 30 '13 at 2:34

This question came from our site for professional and enthusiast programmers.

I think I may have found the answer in this extremely useful post:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.