# Error calling webhook \[DEPTH\_ZERO\_SELF\_SIGNED\_CERT\]

**URL:** <https://discuss.elastic.co/t/error-calling-webhook-depth-zero-self-signed-cert/297065>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [February 13, 2022, 3:49am UTC](https://discuss.elastic.co/t/error-calling-webhook-depth-zero-self-signed-cert/297065 "2022-02-13T03:49:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![angelolol](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@angelolol](https://discuss.elastic.co/u/angelolol)\
**Post date:** [February 13, 2022, 3:49am UTC](https://discuss.elastic.co/t/error-calling-webhook-depth-zero-self-signed-cert/297065/1 "2022-02-13T03:49:54Z")

</div>

Hi,

I´m working with webhook action where I´m trying to send a request to Jira but I get this error "**error calling webhook [DEPTH\_ZERO\_SELF\_SIGNED\_CERT]**", I change "xpack.actions.ssl.verificationMode : **none**" in the kibana.yml file and then works but is not a secure option. How could I add an exception only for Jira or how add the self signed cert to kibana.

Note: The Jira´s host has a self signed cert.

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![gmmorris](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gmmorris/32/72624_2.png) [@gmmorris](https://discuss.elastic.co/u/gmmorris)\
**Post date:** [February 14, 2022, 10:58am UTC](https://discuss.elastic.co/t/error-calling-webhook-depth-zero-self-signed-cert/297065/2 "2022-02-14T10:58:58Z")

</div>

Hi Angel,

You can use the [xpack.actions.customHostSettings](https://www.elastic.co/guide/en/kibana/master/alert-action-settings-kb.html#action-settings) configuration to add a self signed cert which will be applied specifically to your Jira host.

I hope that addresses your need.

---

<div class="post-metadata">

**Author:** ![angelolol](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@angelolol](https://discuss.elastic.co/u/angelolol)\
**Post date:** [February 23, 2022, 2:44am UTC](https://discuss.elastic.co/t/error-calling-webhook-depth-zero-self-signed-cert/297065/3 "2022-02-23T02:44:34Z")

</div>

Hi Gidi,

I used the option that you mentioned and works to add the site as an exception

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/d/0dfbef592803eab9d67eecdcc55acc2acb804827.png)

But when I add the certificate path the error is generated again. I´m exporting the ".cert" file from a keystore ".jks" with keytool.

![image](https://us1.discourse-cdn.com/elastic/original/3X/9/7/97f19e7d56ace1c3ae99f8a58661527632fe5a34.png)

Thanks a lot

---

<div class="post-metadata">

**Author:** ![angelolol](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@angelolol](https://discuss.elastic.co/u/angelolol)\
**Post date:** [February 23, 2022, 3:05am UTC](https://discuss.elastic.co/t/error-calling-webhook-depth-zero-self-signed-cert/297065/4 "2022-02-23T03:05:15Z")

</div>

Hi again,

I could fixed, the file that I need it was ".pem" file and same I exported with keytool from the keystore and after I add the path in the "kibana.yml" and I now I can use the webhook.

Thanks

---

<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:** [March 23, 2022, 3:06am UTC](https://discuss.elastic.co/t/error-calling-webhook-depth-zero-self-signed-cert/297065/5 "2022-03-23T03:06:06Z")

</div>

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