Project

General

Profile

Todo #10704

Work around PHP issues with SSL LDAP and multiple authentication servers

Added by Jim Pingle about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
Category:
User Manager / Privileges
Target version:
Start date:
06/25/2020
Due date:
% Done:

0%

Estimated time:

Description

Based on a report from a customer, the PHP environment we have to setup for SSL LDAP clients does not appear to gracefully handle multiple authentication servers. It ends up not trusting the CA for one or more of the attempted connections. Unless the issues in #9417 have fixed on PHP 7.4 (See #10659), we should try to find a way to handle this situation better, if possible.

2.4.5-p1 workaround: Set the LDAP auth server entries to use Global Root CA List, copy CA cert PEM data to /etc/ssl/<hash>.0 where <hash> is the output of openssl x509 -hash -noout -in ca.crt

2.5.0 workaround: Set the LDAP auth server entries to use Global Root CA List, edit the CAs in the cert manager, check "Add this certificate to the Operating System Trust Store".

That should allow all of the LDAP server CAs to be trusted concurrently.

One possible workaround would be to setup more isolated environments for each server, perhaps with a unique ID per LDAP server or CA hash, but there may still be PHP environment issues when doing it that way.

History

#1 Updated by Jim Pingle about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF