diff --git a/plugins/dbgate-plugin-mongo/src/backend/driver.js b/plugins/dbgate-plugin-mongo/src/backend/driver.js index ffb777b6..db2f637e 100644 --- a/plugins/dbgate-plugin-mongo/src/backend/driver.js +++ b/plugins/dbgate-plugin-mongo/src/backend/driver.js @@ -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; }