You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The config file and certificate work fine for PHP 8.1.
But as soon as PHP 8.2 or 8.3 are implemented the following error is thrown
[PDOException]
PDO::__construct(): Unable to set local cert chain file `/run/secrets/mysql
/tls.crt'; Check that your cafile/capath settings include details of your certificate and its issuer
See more below.
What should happen?
SSL cert should be found when connecting to db with PHP 8.2.
How can this be reproduced?
To reproduce the problem:
Update to either PHP to 8.2 or 8.3*
Matomo will fail to connect to the database; it breaks Matomo**
Roll back to PHP 8.1***
Matomo works normally
*PHP 8.2-fpm-alpine or PHP 8.3.8-fpm-alpine
**The error is [PDOException]
PDO::__construct(): Unable to set local cert chain file `/run/secrets/mysql /tls.crt'; Check that your cafile/capath settings include details of your certificate and its issuer
But the config file is fine when using PHP 8.1.
***Php 8.1.15-fpm-alpine
What happened?
[PDOException]
PDO::__construct(): Unable to set local cert chain file `/run/secrets/mysql
/tls.crt'; Check that your cafile/capath settings include details of your certificate and its issuer
See more below.
What should happen?
SSL cert should be found when connecting to db with PHP 8.2.
How can this be reproduced?
To reproduce the problem:
Update to either PHP to 8.2 or 8.3*
Matomo will fail to connect to the database; it breaks Matomo**
Roll back to PHP 8.1***
Matomo works normally
*PHP 8.2-fpm-alpine or PHP 8.3.8-fpm-alpine
**The error is [PDOException]
PDO::__construct(): Unable to set local cert chain file `/run/secrets/mysql /tls.crt'; Check that your cafile/capath settings include details of your certificate and its issuer
But the config file is fine when using PHP 8.1.
***Php 8.1.15-fpm-alpine
Matomo version
5.1.0
Server operating system
https://github.com/matomo-org/docker/blob/master/fpm-alpine/Dockerfile
Computer operating system
Alpine Linux
The text was updated successfully, but these errors were encountered: