Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 881213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:13:30+00:00 2026-05-15T12:13:30+00:00

I am running PHP (on Apache/Windows) and I am trying to connect to a

  • 0

I am running PHP (on Apache/Windows) and I am trying to connect to a LDAP server to authenticate users. PHP’s LDAP plugin is just OpenLDAP.

While I’ve been successful in connecting to the LDAP server without SSL, I can’t do it WITH SSL. I know I got everything right, except OpenLDAP won’t connect to the server without the CA certificate. The connection fails and it gives me this error:

“error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed”

Now, I know I can suppress this behavior by setting TLS_REQCERT to “never” in the ldap.conf file. But the plugin on windows is just a dll file; and I have no idea on where to put the .conf file. Does anyone know?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:13:30+00:00Added an answer on May 15, 2026 at 12:13 pm

    Apparently you need to place the ldap.conf file in the following directory:

    C:\openldap\sysconf\
    

    Since it’s hardcoded into the DLL file. PHP.net Manual: LDAP Functions – Comment #47427

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to setup an Apache/PHP/Postgresql server locally on my machine. I'm using Windows
I'm running Windows, having installed IIS 7.5, PHP 5.3 (FastCGI). Trying to connect to
I have an Apache server running PHP-5.3.0 for Windows. For the creation of pdf
I've been working on an internal site that has Apache / PHP running. I
I'm running server on Mandriva 2011 Apache 2.2.22 PHP 5.3.14 PHPUnit Version 3.3.17 Selenium
I'm running PHP with Apache locally on my PC on Windows. The script uploads
I have a WAMP (windows (7), apache, mysql, php) stack all setup and running.
I'm trying to do GPG encryption on a Windows platform, in PHP, running XAMPP.
I am running PHP on a 64bit windows 2008 server. I have both ODBC
I'm running PHP 5.2.8 on Apache 2.2.11 on Windows XP SP 3. In php.ini,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.