mongo: support TLS certs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 24
- Forks
- 41
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 12
Description
At the moment mongo auth must be entered as a user/password strings
It would be nice to support a TLS/SSL secure transport and allow a cert to be passed via tls.
We'd need to add more options to config, make user/password optional, and probably write a bit more error handling. Maybe an assert pattern to make sure some auth exists on the config object.
We may need to update our mongo client before doing this.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Mongo client and its configuration handling, then review the assert pattern discussed in issue 355 and the linked MongoDB TLS documentation. Determine how the client version supports TLS certificates, optional user/password authentication, and configuration errors. Done means TLS certificate options are accepted, valid authentication paths work, and invalid authentication configuration produces clear errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb, node.js
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100