# SSL options for Metricbeat when connecting to Mongo?

**URL:** <https://discuss.elastic.co/t/ssl-options-for-metricbeat-when-connecting-to-mongo/84497>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [May 4, 2017, 7:41am UTC](https://discuss.elastic.co/t/ssl-options-for-metricbeat-when-connecting-to-mongo/84497 "2017-05-04T07:41:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lisadeng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lisadeng/32/15458_2.png) [@lisadeng](https://discuss.elastic.co/u/lisadeng)\
**Post date:** [May 4, 2017, 7:41am UTC](https://discuss.elastic.co/t/ssl-options-for-metricbeat-when-connecting-to-mongo/84497/1 "2017-05-04T07:41:07Z")

</div>

My company has MongoDB and they use SSL certification. As a result, metricbeat is not able to connect. I know there is an SSL option when connecting from Metricbeat to Logstash, but is there one when Metricbeat is attempting to establish a connection to Mongo? I couldn't find it in the documentation.

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [May 5, 2017, 10:23am UTC](https://discuss.elastic.co/t/ssl-options-for-metricbeat-when-connecting-to-mongo/84497/2 "2017-05-05T10:23:07Z")

</div>

Hi @lisadeng,

I've been checking and SSL connection to mongo is not supported as of today. You can check our issues tracker and create a feature request for it: [https://github.com/elastic/beats/issues](https://github.com/elastic/beats/issues).

I'm also thinking on a possible workaround. Perhaps you could setup a local mongos instance doing the SSL and use it in localhost (without SSL)?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 2, 2017, 10:32am UTC](https://discuss.elastic.co/t/ssl-options-for-metricbeat-when-connecting-to-mongo/84497/3 "2017-06-02T10:32:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
