-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 5.1.0
-
Component/s: Sharding, Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
v5.0
-
-
Sharding EMEA 2021-06-28
-
169
Tests in jstests/external_auth use preferTLS mode but require X509 authentication in sharded cluster. On the other hand ShardingTest uses X509 authentication only with requireTLS mode. So we should make ShardingTest to use X509 authentication also when TLS mode is preferred.