mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge pull request #4324 from Infisical/mssql-ssl-issue-fix
servername host for mssql
This commit is contained in:
@@ -44,7 +44,8 @@ const getConnectionConfig = ({
|
|||||||
? {
|
? {
|
||||||
trustServerCertificate: !sslRejectUnauthorized,
|
trustServerCertificate: !sslRejectUnauthorized,
|
||||||
encrypt: true,
|
encrypt: true,
|
||||||
cryptoCredentialsDetails: sslCertificate ? { ca: sslCertificate } : {}
|
cryptoCredentialsDetails: sslCertificate ? { ca: sslCertificate } : {},
|
||||||
|
servername: host
|
||||||
}
|
}
|
||||||
: { encrypt: false }
|
: { encrypt: false }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user