Skip to content

Commit

Permalink
remove Trust Server Certificate as we are now checking the CA cert
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiao921 committed Jun 18, 2020
1 parent 8a2fcef commit 19b8381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHEF/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal static void Init()
var password = Environment.GetEnvironmentVariable("POSTGRES_PASSWORD");
var dbName = Environment.GetEnvironmentVariable("POSTGRES_DB");

Connection = $"Host={host};Port={port};Username={username};Password={password};Database={dbName};SSL Mode=Prefer;Trust Server Certificate=true";
Connection = $"Host={host};Port={port};Username={username};Password={password};Database={dbName};SSL Mode=Prefer";

// Debug code for dropping table, careful with that
//
Expand Down

0 comments on commit 19b8381

Please sign in to comment.