[JAVA-4959] How to pass sslCAFile parameter to connection string of java driver Created: 09/May/23 Updated: 27/Oct/23 Resolved: 01/Jun/23 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Nitul Kukadia | Assignee: | Jeffrey Yemin |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I am trying to query mongo db with apache drill mongo storage plugin.
As per apache drill we can provide connection string of mongo db only. https://drill.apache.org/docs/mongodb-storage-plugin/
How do we provide sslCAFile file path as well in connection string.
We are using mongo db version 4.2.0 |
| Comments |
| Comment by PM Bot [ 01/Jun/23 ] | |||||||
|
There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to reopen this ticket if you're still experiencing the issue, and add a comment if you're able to provide more information. | |||||||
| Comment by PM Bot [ 24/May/23 ] | |||||||
|
Hi nitulkukadia! If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks! | |||||||
| Comment by PM Bot [ 17/May/23 ] | |||||||
|
Hi nitulkukadia! Your JAVA issue If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks! | |||||||
| Comment by Jeffrey Yemin [ 10/May/23 ] | |||||||
|
Hi nitulkukadia, there is no way to do this directly. The closest thing that is available is the ability to control the SSLContext for the connections. The code looks something like this:
It's up to the application to create the appropriate SSLContext. | |||||||
| Comment by Nitul Kukadia [ 10/May/23 ] | |||||||
|
Hi jeff.yemin@mongodb.com , I thought that is the right label, please update it if that is not a proper one. | |||||||
| Comment by Jeffrey Yemin [ 09/May/23 ] | |||||||
|
Hi nitulkukadia, I noticed that you set the component to "Client Side Encryption". Is your application using this feature? Nothing in the description suggests that, so just wanted to check. Perhaps you were just thinking that was the right component because TLS also does encryption. | |||||||
| Comment by Service Account: DBX TPM [ 09/May/23 ] | |||||||
|
Hi nitulkukadia, thank you for reporting this issue! The team will look into it and get back to you soon. |