Skip to content

Commit

Permalink
Trust the server certificate by default in MSSQL driver
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelborn committed Jun 12, 2024
1 parent fec11d2 commit 3f04785
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ public class MicrosoftSQLDriver extends GenericJDBCDriver {
protected static final String DEFAULT_HOST = "localhost";
protected static final String DEFAULT_DELIMITER = ";";
protected static final IStruct DEFAULT_HIKARI_PROPERTIES = Struct.of();
protected static final IStruct DEFAULT_CUSTOM_PARAMS = Struct.of();
protected static final IStruct DEFAULT_CUSTOM_PARAMS = Struct.of(
"trustServerCertificate", "true"
);

/**
* Constructor
Expand Down

0 comments on commit 3f04785

Please sign in to comment.