[CXX-323] connect to the mongodb database over SSL using C++ driver and certificate Created: 28/Aug/14 Updated: 11/Sep/19 Resolved: 09/Sep/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Documentation |
| Affects Version/s: | legacy-0.0-26compat-2.6.3 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Dharmaraj Narayan | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
RH linux 64bit, MONGODB Enterpise version. |
||
| Description |
|
The only example we have so far is Configuration of the driver is managed through a new class, added in the legacy-0.9.0 release, called Options. This class is hosted in the mongo::client namespace, and is defined in the header mongo/client/options.h. // Configure the mongo C++ client driver, enabling SSL and setting And this complains that mongo/client/options.h is not found. Please provide example of how similar thing can be done with mongo-cxx-driver-legacy-0.0-26compat-2.6.3 |
| Comments |
| Comment by Dharmaraj Narayan [ 29/Aug/14 ] | |||||||||||||||||
|
Thanks Tyler. | |||||||||||||||||
| Comment by Tyler Brock [ 29/Aug/14 ] | |||||||||||||||||
|
Hey Dharmaraj, You are correct, mongo/client/options.h is only found in the legacy(non 26-compat) versions of the driver greater than v0.9. Here is a simple example of how SSL would work on the 26-compat release stream:
|