Combination of the following conditions causes a failure to connect with TLS from mongo shell:
- Server's PEMKeyFile includes the server key and cert, and also the intermediate CA cert that signed the server cert
- mongo shell CAFile is the root CA cert that signed the intermediate cert
- Running MongoDB 4.0.5 (does not fail on 3.6)
- Running on macOS (does not fail on Linux)