Skip to content

Commit

Permalink
Updating ssl options
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrichlake committed Dec 15, 2023
1 parent d1b4e80 commit 22089f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected Connection connect() throws SQLException {

props.setProperty("password", token);

props.setProperty("ssl", ssl);
props.setProperty("sslmode", ssl);
conn = driverManager.getConnection(url, props);
logger.logInfo("DB Connected Successfully");
return conn;
Expand Down
2 changes: 1 addition & 1 deletion operations/template/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ resource "azurerm_linux_web_app" "api" {
DB_PORT = "5432"
DB_NAME = "postgres"
DB_USER = "cdcti-internal-api"
DB_SSL = "true"
DB_SSL = "require"
}

identity {
Expand Down

0 comments on commit 22089f6

Please sign in to comment.