[PR #1096] [MERGED] Add option to disable LDAPS Certificate Validation #5769

Closed
opened 2026-02-05 10:16:38 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/1096
Author: @christophert
Created: 10/28/2018
Status: Merged
Merged: 12/22/2018
Merged by: @ssddanbrown

Base: masterHead: add-ldaptlsinsecure


📝 Commits (3)

  • 6c14c09 Add ability to disable LDAP certificate validation
  • 8e7f703 fix how the option is set, change handle to NULL
  • 730cb78 switch spaces to tabs

📊 Changes

3 files changed (+13 additions, -0 deletions)

View changed files

📝 .env.example (+2 -0)
📝 app/Auth/Access/LdapService.php (+10 -0)
📝 config/services.php (+1 -0)

📄 Description

This PR allows users to set LDAP_TLS_INSECURE in their .env to bypass LDAP TLS Certificate Verification. This is useful for development environments that may not have a trusted CA certificate for LDAP functionality.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/1096 **Author:** [@christophert](https://github.com/christophert) **Created:** 10/28/2018 **Status:** ✅ Merged **Merged:** 12/22/2018 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `add-ldaptlsinsecure` --- ### 📝 Commits (3) - [`6c14c09`](https://github.com/BookStackApp/BookStack/commit/6c14c09880bc085752a0479c512a47fe08b76aeb) Add ability to disable LDAP certificate validation - [`8e7f703`](https://github.com/BookStackApp/BookStack/commit/8e7f703af713c7c81bd1399d2f6e2518bee0d328) fix how the option is set, change handle to NULL - [`730cb78`](https://github.com/BookStackApp/BookStack/commit/730cb78b455b75d1503008cbf39904898af3ffa1) switch spaces to tabs ### 📊 Changes **3 files changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+2 -0) 📝 `app/Auth/Access/LdapService.php` (+10 -0) 📝 `config/services.php` (+1 -0) </details> ### 📄 Description This PR allows users to set `LDAP_TLS_INSECURE` in their `.env` to bypass LDAP TLS Certificate Verification. This is useful for development environments that may not have a trusted CA certificate for LDAP functionality. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:16:38 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5769