简体   繁体   中英

misconfigured SSL using webhooks

I have created an http server to receive post-hooks from git whenever a push event is issued (for the purpose of auto-deployement).
The problem is that when I add a Web hook to my repository , and when an event is triggered, the request cannot reach the server.

And I get the following error:

We had a problem connecting to the server.  
The most common problem with these types of errors is a misconfigured SSL Certificate .

Any ideas?

By default, a GitHub WebHook would perform SSL certificate verification

http://steve-jansen.github.io/images/2014-12-03-A.png

(and disabling that verification is not a good idea)

Make sure your server has all intermediate CAs in its keystore, and debug your certificate using an SSL checker as mentioned in " Troubleshooting GitHub WebHooks SSL Verification ".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM