Open
Description
To enable TLS, ext-amqp
does not support reading the CA store of the OS automatically (nor the OpenSSL one used by PHP for stream wrappers). Instead, it requires configuring it either in the php.ini in amqp.cacert
or by passing the cacert
option when instantiating the connection.
It would be great if the buildpack could automatically configure this amqp.cacert
parameter to point to the default cert file on the system.
For reference, running php -r 'var_dump(openssl_get_cert_locations()["default_cert_file"]);'
in a one-off dyno shows it as being at /usr/lib/ssl/cert.pem
.