-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
ALL
-
Platforms 2017-01-23
On 3.2.10 when running a script from the JS
E.g. If I run db.printReplicationInfo() in test.js
mongo --ssl --sslAllowInvalidCertificates --port 27017 --quiet admin -u admin -p <> test.js
2016-12-07T06:06:45.892+0000 W NETWORK [thread1] The server certificate does not match the host name 127.0.0.1
configured oplog size: 990MB
log length start to end: 75783secs (21.05hrs)
oplog first event time: Mon Dec 05 2016 12:03:29 GMT+0000 (UTC)
oplog last event time: Tue Dec 06 2016 09:06:32 GMT+0000 (UTC)
now: Wed Dec 07 2016 06:06:45 GMT+0000 (UTC)
Looks like when you have a self signed certificate it prints this to standard output as the first line.
- duplicates
-
SERVER-18643 Output redirection from mongo shell
- Closed