mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
[PS-2185] Update defaults for SQL Server to trust the server certificate (#2563)
* Update defaults for SQL Server to trust the server certificate * Use an explicit
This commit is contained in:
parent
df2edcfb8c
commit
503630497e
@ -5,7 +5,7 @@
|
|||||||
"globalSettings": {
|
"globalSettings": {
|
||||||
"selfHosted": true,
|
"selfHosted": true,
|
||||||
"sqlServer": {
|
"sqlServer": {
|
||||||
"connectionString": "Server=localhost;Database=vault_dev;User Id=SA;Password=SET_A_PASSWORD_HERE_123;"
|
"connectionString": "Server=localhost;Database=vault_dev;User Id=SA;Password=SET_A_PASSWORD_HERE_123;Encrypt=True;TrustServerCertificate=True"
|
||||||
},
|
},
|
||||||
"postgreSql": {
|
"postgreSql": {
|
||||||
"connectionString": "Host=localhost;Username=postgres;Password=SET_A_PASSWORD_HERE_123;Database=vault_dev;Include Error Detail=true",
|
"connectionString": "Host=localhost;Username=postgres;Password=SET_A_PASSWORD_HERE_123;Database=vault_dev;Include Error Detail=true",
|
||||||
|
@ -12,7 +12,7 @@ adduser --no-create-home --shell /bin/bash --disabled-password --uid $PUID --gid
|
|||||||
VAULT_SERVICE_URI=https://$BW_DOMAIN
|
VAULT_SERVICE_URI=https://$BW_DOMAIN
|
||||||
MYSQL_CONNECTION_STRING="server=$BW_DB_SERVER;port=${BW_DB_PORT:-3306};database=$BW_DB_DATABASE;user=$BW_DB_USERNAME;password=$BW_DB_PASSWORD"
|
MYSQL_CONNECTION_STRING="server=$BW_DB_SERVER;port=${BW_DB_PORT:-3306};database=$BW_DB_DATABASE;user=$BW_DB_USERNAME;password=$BW_DB_PASSWORD"
|
||||||
POSTGRESQL_CONNECTION_STRING="Host=$BW_DB_SERVER;Port=${BW_DB_PORT:-5432};Database=$BW_DB_DATABASE;Username=$BW_DB_USERNAME;Password=$BW_DB_PASSWORD"
|
POSTGRESQL_CONNECTION_STRING="Host=$BW_DB_SERVER;Port=${BW_DB_PORT:-5432};Database=$BW_DB_DATABASE;Username=$BW_DB_USERNAME;Password=$BW_DB_PASSWORD"
|
||||||
SQLSERVER_CONNECTION_STRING="Server=$BW_DB_SERVER,${BW_DB_PORT:-1433};Database=$BW_DB_DATABASE;User Id=$BW_DB_USERNAME;Password=$BW_DB_PASSWORD;"
|
SQLSERVER_CONNECTION_STRING="Server=$BW_DB_SERVER,${BW_DB_PORT:-1433};Database=$BW_DB_DATABASE;User Id=$BW_DB_USERNAME;Password=$BW_DB_PASSWORD;Encrypt=True;TrustServerCertificate=True"
|
||||||
SQLITE_CONNECTION_STRING="Data Source=$BW_DB_FILE;"
|
SQLITE_CONNECTION_STRING="Data Source=$BW_DB_FILE;"
|
||||||
INTERNAL_IDENTITY_KEY=$(openssl rand -hex 30)
|
INTERNAL_IDENTITY_KEY=$(openssl rand -hex 30)
|
||||||
OIDC_IDENTITY_CLIENT_KEY=$(openssl rand -hex 30)
|
OIDC_IDENTITY_CLIENT_KEY=$(openssl rand -hex 30)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user