mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
fixed SSL with MongoDB #885
This commit is contained in:
@@ -73,7 +73,7 @@ const driver = {
|
||||
options.tlsCAFile = ssl.sslCaFile;
|
||||
options.tlsCertificateKeyFile = ssl.sslCertFile || ssl.sslKeyFile;
|
||||
options.tlsCertificateKeyFilePassword = ssl.password;
|
||||
options.tlsAllowInvalidCertificates = !ssl.rejectUnauthorized;
|
||||
// options.tlsAllowInvalidCertificates = !ssl.rejectUnauthorized;
|
||||
options.tlsInsecure = !ssl.rejectUnauthorized;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user