Skip to content

LDAP CA TLS Cert Option, PR Review and continuation - #4985

Merged
ssddanbrown merged 3 commits into
developmentfrom
ldap_ca_cert_control
May 2, 2024
Merged

ssddanbrown merged 3 commits into
developmentfrom
ldap_ca_cert_control

Conversation

@ssddanbrown

Copy link
Copy Markdown
Member

Review of #4913
Added testing to cover option.
Updated option so it can be used for a CA directory, or a CA file.
Updated option name to be somewhat abstracted from original underling
PHP option.

Tested against Jumpcloud.
Testing took hours due to instability which was due to these settings
sticking and being unstable on change until php process restart.
Also due to little documentation for these options.
X_TLS_CACERTDIR option needs cert files to be named via specific hashes
which can be achieved via c_rehash utility.

This also adds detail on STARTTLS failure, which took a long time to
discover due to little detail out there for deeper PHP LDAP debugging.

Using the env LDAP_TLS_CACERTFILE to set a file to use to override
the CA CERT used to verify LDAPS connections. This is to make this
process easier for docker use.
@ssddanbrown ssddanbrown added this to the Next Feature Release milestone May 2, 2024
@ssddanbrown ssddanbrown self-assigned this May 2, 2024
Review of #4913
Added testing to cover option.
Updated option so it can be used for a CA directory, or a CA file.
Updated option name to be somewhat abstracted from original underling
PHP option.

Tested against Jumpcloud.
Testing took hours due to instability which was due to these settings
sticking and being unstable on change until php process restart.
Also due to little documentation for these options.
X_TLS_CACERTDIR option needs cert files to be named via specific hashes
which can be achieved via c_rehash utility.

This also adds detail on STARTTLS failure, which took a long time to
discover due to little detail out there for deeper PHP LDAP debugging.
@ssddanbrown
ssddanbrown force-pushed the ldap_ca_cert_control branch from c9fb14c to 8087123 Compare May 2, 2024 22:11
@ssddanbrown
ssddanbrown merged commit b072077 into development May 2, 2024
@ssddanbrown
ssddanbrown deleted the ldap_ca_cert_control branch May 2, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants