-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Connectivity
-
None
-
Not Needed
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
When connecting via SSL Compass drops certificates from URL.
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
- Run tls docker: https://github.com/mongodb-js/devtools-docker-test-envs/tree/main/docker/tls
- Use url with path to certificates like this one: `mongodb://localhost:27030/?ssl=true&tlsCAFile=/Users/alenakhineika/www/devtools-docker-test-envs/docker/tls/tls/ca.pem&tlsCertificateKeyFile=/Users/alenakhineika/www/devtools-docker-test-envs/docker/tls/tls/client.pem`
Expected Results
What do you expect to happen?
Compass connects via ssl.
Actual Results
What do you observe is happening?
Compass can not connect because connecting attempt happens without pem files.
{"url":"mongodb://localhost:27030/test?readPreference=primary&appname=MongoDB+Compass+Beta&directConnection=true&ssl=true","options":{"monitorCommands":true}}
Additional Notes
Any additional information that may be useful to include.