Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: Neaj Morshad <[email protected]>
  • Loading branch information
Neaj-Morshad-101 committed May 28, 2024
1 parent 8f94ff8 commit cf49388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mssqlserver/kubedb_client_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (o *KubeDBClientBuilder) getConnectionString() (string, error) {
caCert := clientSecret.Data["ca.crt"]

tlsConfig = fmt.Sprintf("encrypt=true;TrustServerCertificate=false;certificate=%s;", url.QueryEscape(string(caCert)))
tlsConfig = "encrypt=true;TrustServerCertificate=true;"
//tlsConfig = "encrypt=true;TrustServerCertificate=true;"
// todo: remove
klog.Infoln("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&")
klog.Infoln(tlsConfig)
Expand Down

0 comments on commit cf49388

Please sign in to comment.