# Webhook Problem

**URL:** <https://forum.gitea.com/t/webhook-problem/1547>\
**Category:** Install/Maintain/Configure\
**Created:** [October 6, 2019, 4:22pm UTC](https://forum.gitea.com/t/webhook-problem/1547 "2019-10-06T16:22:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EatTobi](https://avatars.discourse-cdn.com/v4/letter/e/779978/32.png) [@EatTobi](https://forum.gitea.com/u/EatTobi)\
**Post date:** [October 6, 2019, 4:22pm UTC](https://forum.gitea.com/t/webhook-problem/1547/1 "2019-10-06T16:22:30Z")

</div>

Hello,  
I have a little problem with Gitea and a webhook in connection with Plesk. Since Plesk uses a self-signed certificate, you have to confirm in your browser that you want to load the page and Gitea seems to have a problem with that. If I set a webhook in Gitea to the given webhook URL of the Plesk Git plugin, I get the following error: “Delivery: Post http:/xxxx.xx//modules/git/public/web-hook.php?uuid=XXXXX: x509: certificate is valid for Plesk, not XXX”. With Gitlab, for example, you can specify that it does not check the SSL certificates. Is that possible with Gitea too?

Greetings  
Tobias

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [October 6, 2019, 4:32pm UTC](https://forum.gitea.com/t/webhook-problem/1547/2 "2019-10-06T16:32:53Z")

</div>

It is not currently possible to ignore the validity of SSL certs, however you can add the plesk cert to your local cert storage so Gitea sees it as valid.

---

<div class="post-metadata">

**Author:** ![EatTobi](https://avatars.discourse-cdn.com/v4/letter/e/779978/32.png) [@EatTobi](https://forum.gitea.com/u/EatTobi)\
**Post date:** [October 6, 2019, 5:04pm UTC](https://forum.gitea.com/t/webhook-problem/1547/3 "2019-10-06T17:04:16Z")

</div>

Thanks for your answer!

“Copy your certificate in PEM format (the format that has `----BEGIN CERTIFICATE----` in it) into `/usr/local/share/ca-certificates` and name it with a `.crt` file extension.  
Then run `sudo update-ca-certificates` .”([https://superuser.com/questions/437330/how-do-you-add-a-certificate-authority-ca-to-ubuntu](https://superuser.com/questions/437330/how-do-you-add-a-certificate-authority-ca-to-ubuntu)) Can i use this method? I don´t have much experience with SSL certificates.
