craftcms / webhooks

Plugin for integrating Craft with Zapier and IFTTT.
https://plugins.craftcms.com/webhooks
MIT License
84 stars 12 forks source link

[FR] Disable certificate checks on demand #31

Closed sjelfull closed 4 years ago

sjelfull commented 4 years ago

When posting to a https-enabled Gatsby server with a self-signed certificate, I'm not able to trigger the refresh endpoint enabled by ENABLE_GATSBY_REFRESH_ENDPOINT.

Could you add a option to disable certificate checks (which is probably the cause here).

brandonkelly commented 4 years ago

I’ve just added a new guzzleConfig setting for the next release, which you can set from config/webhooks.php to tweak the Guzzle config used to send webhook requests:

return [
    'guzzleConfig' => [
        'verify' => false,
    ],
];
brandonkelly commented 4 years ago

Webhooks 2.3.0 is out now with that change.