Skip to content

Configure the AMQP CA path automatically #665

Open
@stof

Description

@stof

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions