[PR #4126] [MERGED] Allow a user to disable peer check when using TLS/STARTTLS #6307

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/4126
Author: @vincentbernat
Created: 3/24/2023
Status: Merged
Merged: 4/23/2023
Merged by: @ssddanbrown

Base: developmentHead: feature/mail-verify-peer


📝 Commits (1)

  • f2293a7 Allow a user to disable peer check when using TLS/STARTTLS

📊 Changes

2 files changed (+3 additions, -1 deletions)

View changed files

📝 .env.example.complete (+2 -1)
📝 app/Config/mail.php (+1 -0)

📄 Description

This is useful when developing and on Docker setups. Despite setting encryption to null, if a server supports STARTTLS with a self-signed certificate, the mailer try to upgrade the connection with STARTTLS.

Fix #3166


🔄 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/4126 **Author:** [@vincentbernat](https://github.com/vincentbernat) **Created:** 3/24/2023 **Status:** ✅ Merged **Merged:** 4/23/2023 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `development` ← **Head:** `feature/mail-verify-peer` --- ### 📝 Commits (1) - [`f2293a7`](https://github.com/BookStackApp/BookStack/commit/f2293a70f80a13231aea07c1fc24f14f3fc393f9) Allow a user to disable peer check when using TLS/STARTTLS ### 📊 Changes **2 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.env.example.complete` (+2 -1) 📝 `app/Config/mail.php` (+1 -0) </details> ### 📄 Description This is useful when developing and on Docker setups. Despite setting encryption to null, if a server supports STARTTLS with a self-signed certificate, the mailer try to upgrade the connection with STARTTLS. Fix #3166 --- <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:28:58 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6307