You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by "Trang T. M. TRUONG" <tt...@gmail.com> on 2015/07/11 00:43:58 UTC
How to connect to mongodb over SSL
Hi,
I'm learning how to use Apache Drill to query data on mongodb. However, my
mongodb is enabled SSL on it so that I couldn't connect to my database with
the below configuration. Please advice me me what configuration should I
use here?
{
"type": "mongo",
"connection": "mongodb://drill_check:check@serverhost:27017/tmp",
"enabled": true
}
Thank you very much.
Best,
----------------------------------------
Trang T. M. TRUONG
Email: ttmtrang@gmail.com
Re: How to connect to mongodb over SSL
Posted by AnilKumar B <ak...@gmail.com>.
Hi,
Can you once try with below configuration?
{
"type": "mongo",
"connection": "mongodb://drill_check:check@serverhost:27017/?ssl=true",
"enabled": true
}
Thanks & Regards,
B Anil Kumar.
On Sat, Jul 11, 2015 at 4:13 AM, Trang T. M. TRUONG <tt...@gmail.com>
wrote:
> Hi,
>
> I'm learning how to use Apache Drill to query data on mongodb. However, my
> mongodb is enabled SSL on it so that I couldn't connect to my database with
> the below configuration. Please advice me me what configuration should I
> use here?
>
> {
> "type": "mongo",
> "connection": "mongodb://drill_check:check@serverhost:27017/tmp",
> "enabled": true
> }
>
> Thank you very much.
> Best,
>
> ----------------------------------------
> Trang T. M. TRUONG
> Email: ttmtrang@gmail.com
>