[SERVER-57740] ShardingTest use X509 also with preferTLS mode Created: 16/Jun/21  Updated: 29/Oct/23  Resolved: 17/Jun/21

Status: Closed
Project: Core Server
Component/s: Sharding, Testing Infrastructure
Affects Version/s: 5.1.0
Fix Version/s: 5.0.3, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Steps To Reproduce:

run the external_auth suite

Sprint: Sharding EMEA 2021-06-28
Participants:
Linked BF Score: 169

 Description   

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.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 31/Aug/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-57740 ShardingTest use X509 also with preferTLS mode

(cherry picked from commit 5205bcea3a1506d160bc8b106bf8317844fd943c)
Branch: v5.0
https://github.com/mongodb/mongo/commit/2e5dfc90df4e955eedc95be37e907f24eddf8fad

Comment by Githook User [ 31/Aug/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-57740 ShardingTest use X509 also with preferTLS mode

(cherry picked from commit 56878b716e1f17132752d7e0bf190932f5c3e077)
Branch: v5.0
https://github.com/10gen/mongo-enterprise-modules/commit/f9c5e7f1321d16b024a8793e87577a3341382a7e

Comment by Githook User [ 17/Jun/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-57740 ShardingTest use X509 also with preferTLS mode
Branch: master
https://github.com/mongodb/mongo/commit/5205bcea3a1506d160bc8b106bf8317844fd943c

Comment by Githook User [ 17/Jun/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-57740 ShardingTest use X509 also with preferTLS mode
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/56878b716e1f17132752d7e0bf190932f5c3e077

Generated at Thu Feb 08 05:42:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.