Skip to content

Feature Request: Add TLS Support for database connectivityΒ #246

@mdhirt

Description

@mdhirt

I am using AWS RDS Proxy for my MISP Database.

RDS Proxy only accepts TLS connections.

I have manually worked out the changes required to have the container support TLS database connections with a 2 line change to database.php as follows:

'ssl_ca' => '/var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem',
'ssl' => true,

With the additional step of mounting your ca trust chain certificate to the above location in your container config.

I have also partially updated the entrypoint scripts to support a new env var MYSQL_TLS=true which is subsequently used to append the above settings to the database.php file.

This issue is being raised so I can contribute the changes required to support TLS connections to MYSQL databases. I may seek assistance getting the entrypoint scripts working correctly.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions