Skip to content

Commit 86bddf1

Browse files
authored
fix(csfle): ensure that monitoring connections are not encrypted (#2749)
1 parent b94519b commit 86bddf1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/core/sdam/monitor.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ class Monitor extends EventEmitter {
9191

9292
// ensure no authentication is used for monitoring
9393
delete connectOptions.credentials;
94+
95+
// ensure encryption is not requested for monitoring
96+
delete connectOptions.autoEncrypter;
97+
9498
this.connectOptions = Object.freeze(connectOptions);
9599
}
96100

0 commit comments

Comments
 (0)