Merge pull request #2626 from acelaya-forks/remove-mysql-ssl-cert

Remove setting of PDO::MYSQL_ATTR_SSL_KEY=true when DB encryption is enabled
This commit is contained in:
Alejandro Celaya
2026-06-16 10:53:02 +02:00
committed by GitHub
2 changed files with 17 additions and 1 deletions
+17
View File
@@ -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*
@@ -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