I updated a Bolt installation from 3.2.x (don’t know exact version) to Bolt 3.4.5 and have an issue when opening the Extensions pane:
Warning: is_readable(): open_basedir restriction in effect. File(/lib/php_include/cacert.pem) is not within the allowed path(s): (/sites/sitename.com/www/:/sites/sitename.com/subdomains/:/sites/sitename.com/private/:/sites/sitename.com/logs/:/sites/sitename.com/backups/:/sites/sitename.com/tmp/:/tmp/)
Some searching suggests this is because the version of Guzzle that comes with newer Bolt releases doesn’t supply its own Certificate Authority file (cacert.pem) anymore and depends on a system wide cacert.pem installed. My system can't find that file and so can't create a secure connection to https://markets.bolt.cm
PHPInfo tells me the following:
Directive Local Value Master Value
openssl.cafile /lib/php_include/cacert.pem /lib/php_include/cacert.pem
openssl.capath no value no value
If my hoster does provide a cacert.pem and PHP apparently knows where it is, why can’t Bolt find it?