Skip to content

auth: new CA file over path logic for LDAP TLS - #96

Merged
rezib merged 2 commits into
mainfrom
ca-file-logic
Jul 7, 2026
Merged

auth: new CA file over path logic for LDAP TLS#96
rezib merged 2 commits into
mainfrom
ca-file-logic

Conversation

@rezib

@rezib rezib commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

rezib added 2 commits July 7, 2026 18:16
On RHEL-family and other modern distributions, trusted CAs live in a
PEM bundle (openssl_cafile) rather than a hashed capath directory.
Using OPT_X_TLS_CACERTDIR with the default capath caused LDAPS/STARTTLS
certificate validation to fail even for system-trusted CAs.

Prefer OPT_X_TLS_CACERTFILE when the default bundle exists, and fall
back to OPT_X_TLS_CACERTDIR otherwise.
@rezib rezib added this to the v1.8.0 milestone Jul 7, 2026
@rezib rezib self-assigned this Jul 7, 2026
@rezib
rezib merged commit 54983d8 into main Jul 7, 2026
24 checks passed
@rezib
rezib deleted the ca-file-logic branch July 7, 2026 16:23
@rezib rezib modified the milestones: v1.8.0, v1.9.0 Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant