Hi, I'm running IIS6 on Windows Server 2003 SP2. I have a PHP script that attempts to bind to an AD Server using SSL, port 636:
$ds = ldap_connect("ldaps://myserver:636");
$r = ldap_bind($ds, $user, $pass);
This gives me a "Can't Contact Server" error, however I can run the script successfully using non-secure port 389. Also, I can successfully connect using SSL outside of IIS, e.g. manually running C:\test\ssltest.php from the command prompt is successful.
This leads me to believe this is an IIS/Webserver security problem. How can I give IIS the same permission for contacting the external AD Server as the Windows Server itself?
Thanks,
Mike