From f8f2876015944784a892abbeab4c9a67724203fc Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 16 Jun 2026 08:35:52 +0200 Subject: [PATCH] Remove setting of PDO::MYSQL_ATTR_SSL_KEY=true when DB encryption is enabled --- CHANGELOG.md | 17 +++++++++++++++++ config/autoload/entity-manager.global.php | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4e09a90..a2ec3c42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org). +## [5.1.3] - 2026-06-16 +### Added +* *Nothing* + +### Changed +* *Nothing* + +### Deprecated +* *Nothing* + +### Removed +* *Nothing* + +### Fixed +* [#2625](https://github.com/shlinkio/shlink/issues/2625) Fix `PDO::connect(): Unable to set local cert chain file 1` error when setting `DB_USE_ENCRYPTION=true` with MySQL and PHP 8.5. + + ## [5.1.2] - 2026-06-14 ### Added * *Nothing* diff --git a/config/autoload/entity-manager.global.php b/config/autoload/entity-manager.global.php index 4f547f54..0726c691 100644 --- a/config/autoload/entity-manager.global.php +++ b/config/autoload/entity-manager.global.php @@ -36,7 +36,6 @@ return (static function (): array { 'maria', 'mysql' => !$useEncryption ? [] : [ - 1007 => true, // PDO::MYSQL_ATTR_SSL_KEY: Require using SSL 1014 => false, // PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT: Trust any certificate ], 'postgres' => !$useEncryption