Is this a new feature request?
Wanted change
Description
I would like to request support for secure TLS connections between BookStack (Docker setup) and a MariaDB database.
Currently, it appears that configuring a TLS-secured connection to MariaDB is either not documented or not fully supported in the official Docker setup.
Use case
In production environments, enforcing encrypted connections to the database is often required for security and compliance reasons. Using plain connections (non-TLS) can be a blocker in such environments.
Expected behavior
It should be possible to configure BookStack (via environment variables or configuration files) to connect to MariaDB using TLS, including:
- Providing CA certificate
- Optional client certificate and key
- Enforcing SSL mode (e.g. REQUIRED, VERIFY_CA, VERIFY_IDENTITY)
Suggested implementation
Environment
BookStack version: 26.03.3
Docker setup: official image
MariaDB version: 10.11.16
Reason for change
MariaDB supports TLS connections and this is commonly used in containerized and cloud environments. Adding this support would improve security posture for production deployments.
Proposed code change
No response
Is this a new feature request?
Wanted change
Description
I would like to request support for secure TLS connections between BookStack (Docker setup) and a MariaDB database.
Currently, it appears that configuring a TLS-secured connection to MariaDB is either not documented or not fully supported in the official Docker setup.
Use case
In production environments, enforcing encrypted connections to the database is often required for security and compliance reasons. Using plain connections (non-TLS) can be a blocker in such environments.
Expected behavior
It should be possible to configure BookStack (via environment variables or configuration files) to connect to MariaDB using TLS, including:
Suggested implementation
Support additional environment variables such as:
Ensure these parameters are passed to the underlying database connection (Laravel / PDO)
Environment
BookStack version: 26.03.3
Docker setup: official image
MariaDB version: 10.11.16
Reason for change
MariaDB supports TLS connections and this is commonly used in containerized and cloud environments. Adding this support would improve security posture for production deployments.
Proposed code change
No response