acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
39.65k stars 5k forks source link

Enhancement Request: Allow URL as a webhook target #2867

Open TotallyInformation opened 4 years ago

TotallyInformation commented 4 years ago

Hi, I'd like to really thank you for such an excellent script.

I do have a request for an enhancement though. It would be great if we could supply a URL as the webhook target so that we could pick up events in any system.

I use Node-RED as a home automation tool and it can easily create http(s) endpoints for arbitrary use & I already use that for other script-based services that I run - impafilter for example. That way, I can get all of my notifications in one place and use Node-RED to forward and/or record them as needed. For example, I forward key notifications direct to a Telegram bot. They also go out to MQTT and can be recorded in InfluxDB.

auto-comment[bot] commented 4 years ago

If this is a bug report, please upgrade to the latest code and try again: 如果有 bug, 请先更新到最新版试试: sh acme.sh --upgrade please also provide the log with --debug 2. see: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh