[COMPASS-4402] Show an warning/error when the users attempts to connect with x509 in the connection form without SSL set Created: 07/Sep/20  Updated: 10/Jan/24  Resolved: 04/Dec/20

Status: Closed
Project: Compass
Component/s: Compass, Connectivity
Affects Version/s: None
Fix Version/s: 1.24.1

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-4362
Documentation Changes: Not Needed
Sprint: Iteration Rambutan

 Description   

Currently to connect with a client cert when using x509 it can be a little confusing, the user has to choose x509 from Authentication, fill in their username (prefixed with 'CN=' for atlas users) and then in the 'More Options' tab the user then has to select 'SSL' ->  'Server and Client Validation' and use the pem in both certificate and private key fields. The Certificate Authority in this case isn't used, and could be not included as it probably generates confusion.

To improve this I think we could show a warning when x509 is selected and the user has selected an invalid SSL method.



 Comments   
Comment by Githook User [ 08/Dec/20 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(COMPASS-4402, COMPASS-4467): make x509 username optional in connection validation and improve validation error messages (#2071)
Branch: 1.24-releases
https://github.com/mongodb-js/compass/commit/e8d3190666d8ed34598798d96ed609f03534611c

Comment by Rhys Howell [ 04/Dec/20 ]

Compass merge commit https://github.com/mongodb-js/compass/commit/e8d3190666d8ed34598798d96ed609f03534611c 

Comment by Githook User [ 04/Dec/20 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(COMPASS-4402, COMPASS-4467): make x509 username optional in connection validation and improve validation error messages (#2071)
Branch: master
https://github.com/mongodb-js/compass/commit/e8d3190666d8ed34598798d96ed609f03534611c

Comment by Rhys Howell [ 23/Sep/20 ]

Related issue for this ux: https://github.com/mongodb-js/compass/issues/1932 

Generated at Wed Feb 07 22:36:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.