Can't contact LDAP server when using SSL on production machine. #848
Description
- Laravel Version: 6.6.2
- Adldap2-Laravel Version: 6.0.8
- PHP Version: 7.3.12
- LDAP Type: ActiveDirectory
Description:
Our intranet system works with SSO middleware and everyone connects perfectly fine while not using SSL to connect. However when I switch the LDAP_PORT
and set LDAP_USE_SSL
to true it is no longer able to connect, giving the error:
production.ERROR: Can't contact LDAP server {"userId":"<removed>","exception":"[object] (Adldap\\Auth\\BindException(code: -1): Can't contact LDAP server at C:\\inetpub\\vendor\\adldap2\\adldap2\\src\\Auth\\Guard.php:107)
The production website is running on Windows Server 2016 Standard with IIS10.
Using the code in a local environment (my win10 PC running XAMPP) it still connects, signs in and the website works perfectly.
We called the AD host to see if there was anything they could do and they managed to set up a machine and connect over SSL as well.
I have tried the following solutions but neither have worked:
#318
#847
Also just wondering if there has been any progress on this enhancement? It would help a lot with debugging problems like this
#813