# Webhook certificate verify failed

**URL:** https://meta.discourse.org/t/webhook-certificate-verify-failed/96367
**Category:** Support
**Tags:** patreon
**Created:** [September 5, 2018, 12:56am UTC](https://meta.discourse.org/t/webhook-certificate-verify-failed/96367 "2018-09-05T00:56:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cck197](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cck197/32/110338_2.png) [@cck197](https://meta.discourse.org/u/cck197)
#### Post date: [September 5, 2018, 12:56am UTC](https://meta.discourse.org/t/webhook-certificate-verify-failed/96367/1 "2018-09-05T00:56:52Z")

</div>

Hi, I’ve just installed `discourse-patreon` version 2.0 and I can’t get the webhooks to work.

When I go here:

`https://www.patreon.com/portal/registration/register-webhooks`

And I test a webhook, I receive the following error:

```plaintext
Test Response
---
Error: _HTTPSConnectionPool(host='forum.nourishbalancethrive.com', port=443): Max retries exceeded with url: /patreon/webhook (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

```

I’m hosting on Digital Ocean using a certificate installed on a load balancer.

Any idea why the `certificate verify failed` error?

Thank you!

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [September 5, 2018, 1:16am UTC](https://meta.discourse.org/t/webhook-certificate-verify-failed/96367/2 "2018-09-05T01:16:33Z")

</div>

Chances are it’s because your server isn’t presenting the intermediate CA certificate chain. Otherwise, you’d have to ask Patreon about that, it’s a problem being reported by their systems, not Discourse. It’s unlikely that Digicert’s root CA isn’t trusted by them, it’s a fairly common and well-regarded trust anchor.

---

<div class="post-metadata">

### Author: ![cck197](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cck197/32/110338_2.png) [@cck197](https://meta.discourse.org/u/cck197)
#### Post date: [September 5, 2018, 3:40pm UTC](https://meta.discourse.org/t/webhook-certificate-verify-failed/96367/3 "2018-09-05T15:40:17Z")

</div>

I think that was it! Here’s what I did:

1. Deleted the load balancer in Digital Ocean.
2. Deleted the certificate.
3. Created the certificate again this time making sure to add the intermediate certificate.
4. Created a new load balancer.
5. Added the new certificate to the load balancer.
6. Added the old droplet to the new load balancer.

As far as I can tell, you can’t update either the load balancer or the certificate so deletion/creation is required.

Thank you so much for the speedy and helpful response. I never contacted Patreon but something tells me I’d be unlikely to receive this level of support over there.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [November 26, 2022, 3:10pm UTC](https://meta.discourse.org/t/webhook-certificate-verify-failed/96367/5 "2022-11-26T15:10:14Z")

</div>


