mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-23 02:59:38 +02:00
Add note regarding newer MariaDB client libraries which assume TLS/SSL connections can be made
1 parent
32bf6ee7d5
commit
6f96e35c7e
1 file changed
+7
@@ -6,6 +6,13 @@
|
||||
> <p align=center>⚠️ 💩 ⚠️</p>
|
||||
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Running a MariaDB or MySQL server which does not support default SSL/TLS connections might cause the client to not being able to connect when using the latest MariaDB client versions, like within the Alpine based images.
|
||||
> If you can not upgrade your MariaDB or MySQL server to the latest version you need to add an extra environment variable to be able to let Vaultwarden connect to this database. <br>
|
||||
> <br>
|
||||
> Add `MARIADB_TLS_DISABLE_PEER_VERIFICATION=1` as an environment variable, and Vaultwarden will be able to connect.
|
||||
|
||||
|
||||
To use the MariaDB (MySQL) backend, you can either use the [official Docker image](https://hub.docker.com/r/vaultwarden/server) or build your own binary [with MySQL enabled](https://github.com/dani-garcia/vaultwarden/wiki/Building-binary#mysql-backend).
|
||||
|
||||
To run the binary or container, ensure the ```DATABASE_URL``` environment variable is set (i.e. ```DATABASE_URL='mysql://<user>:<password>@mysql/vaultwarden[?ssl_mode=(disabled|required|preferred)&ssl_ca=/path/to/cart.(crt|pem)]'```).
|
||||
|
||||
Reference in new issue
Block a user