How to connect FileMaker, PHP and LDAPS

 In FileMaker

Having trouble connecting your FileMaker-installed PHP to an LDAPS service? A problem lies in PHP’s OpenLDAP settings and is common to many versions of PHP. By default, PHP’s LDAPS is configured to only accept certificates with an exact match for the server’s name. If the LDAPS server uses a certificate with a * in its name then PHP’s LDAPS will not connect. Changing this setting can only be done by adding a config file onto your server’s C drive. For some reason the file path for the configuration file is hard-coded.

To disable certificate verification in LDAPS, and therefore accept the use of a certificate with a *, the following file must be created:


This file must contain the following text:


Once you have added this file, restart IIS and LDAPS should work with any certificate.

If you have any questions or queries feel free to contact us

Recommended Posts

Leave a Comment