# How to connect to documentDB cluster via cockpit cms

**URL:** <https://discourse.getcockpit.com/t/how-to-connect-to-documentdb-cluster-via-cockpit-cms/1712>\
**Category:** Support\
**Created:** [November 16, 2020, 4:44am UTC](https://discourse.getcockpit.com/t/how-to-connect-to-documentdb-cluster-via-cockpit-cms/1712 "2020-11-16T04:44:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SLNimesh](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/slnimesh/32/708_2.png) [@SLNimesh](https://discourse.getcockpit.com/u/SLNimesh)\
**Post date:** [November 16, 2020, 4:44am UTC](https://discourse.getcockpit.com/t/how-to-connect-to-documentdb-cluster-via-cockpit-cms/1712/1 "2020-11-16T04:44:37Z")

</div>

Hello good people,

While I was trying to connect to documentDB cluster this error came up,  
**No suitable servers found (`serverSelectionTryOnce` set): [socket timeout calling ismaster]**

So anyone with an idea regarding this could u please help 🙂 to sort out this issue.

Cheers!

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [November 18, 2020, 10:57am UTC](https://discourse.getcockpit.com/t/how-to-connect-to-documentdb-cluster-via-cockpit-cms/1712/2 "2020-11-18T10:57:45Z")

</div>

Are you talking about the server interface [Cockpit Project](https://cockpit-project.org/) or about the headless, api-first [Cockpit CMS](https://getcockpit.com)?  
This forum is about Cockpit CMS.

---

<div class="post-metadata">

**Author:** ![SLNimesh](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/slnimesh/32/708_2.png) [@SLNimesh](https://discourse.getcockpit.com/u/SLNimesh)\
**Post date:** [November 19, 2020, 3:19am UTC](https://discourse.getcockpit.com/t/how-to-connect-to-documentdb-cluster-via-cockpit-cms/1712/3 "2020-11-19T03:19:03Z")

</div>

We are talking about headless CMS 🙂

---

<div class="post-metadata">

**Author:** ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)\
**Post date:** [November 19, 2020, 11:41am UTC](https://discourse.getcockpit.com/t/how-to-connect-to-documentdb-cluster-via-cockpit-cms/1712/4 "2020-11-19T11:41:03Z")

</div>

Ah OK, I wasn’t aware of the Amazon DocumentDB service. Maybe Cockipt uses a MongoDB statement, that isn’t supported by their emulation…

---

<div class="post-metadata">

**Author:** ![SLNimesh](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/slnimesh/32/708_2.png) [@SLNimesh](https://discourse.getcockpit.com/u/SLNimesh)\
**Post date:** [November 19, 2020, 11:50am UTC](https://discourse.getcockpit.com/t/how-to-connect-to-documentdb-cluster-via-cockpit-cms/1712/5 "2020-11-19T11:50:03Z")

</div>

We have a requirement of pointing cockpit headless cms application through AWS documentDB cluster, so we have to provide their SSL certificate path to establish connection. Is there any specific way to configure SSL path in cockpit(in config.php) to establish connection?

@raffaelj @artur 🙂 👋
