Project

General

Profile

Todo #10704

Work around PHP issues with SSL LDAP and multiple authentication servers

Added by Jim Pingle 10 months ago. Updated 2 months ago.

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

0%

Estimated time:
Release Notes:
Default

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 10 months ago

  • Description updated (diff)

#2 Updated by Steve Beaver 6 months ago

  • Tracker changed from Todo to Documentation

#3 Updated by Jim Pingle 6 months ago

  • Tracker changed from Documentation to Todo

There is still likely to be a technical / non-documentation way to address this.

Some of that depends on the outcome of wider testing for #9417

#4 Updated by Jim Pingle 5 months ago

  • Status changed from New to Feedback

This is technically waiting for feedback on #9417 so I'm changing the status accordingly.

If #9417 has to be backed out again, this can be changed back to a documentation ticket and I can update the docs as needed, and it is not a release blocker at that point.

#5 Updated by Renato Botelho 2 months ago

Marking it as resolved since nobody answered in 3 months

#6 Updated by Renato Botelho 2 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF