You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
would love to see an --skip-verify option on the webhook listen command similar to what stripe does on its own stripe CLI tool (see docs).
Usage case
We use a self-signed SSL certificate for running servers locally and for now, we have to proxy the requests from paystack-cli -> proxy HTTP server that ignores SSL verification --> actual server. While it's workable it's a somewhat "dirty" solution to the problem.
All you would need to do is add rejectUnauthorized to http/https agent (probably dynamically base it on the forward to URL) based on the CLI input flag
agent: new HttpsAgent({
/**
* We're using a self-signed certificate, thus disabling
* TLS certificate validation so that we can connect.
*/
rejectUnauthorized: false,
}),
The text was updated successfully, but these errors were encountered:
Proposal
would love to see an
--skip-verify
option on thewebhook listen
command similar to what stripe does on its own stripe CLI tool (see docs).Usage case
We use a self-signed SSL certificate for running servers locally and for now, we have to proxy the requests from
paystack-cli -> proxy HTTP server that ignores SSL verification --> actual server
. While it's workable it's a somewhat "dirty" solution to the problem.All you would need to do is add
rejectUnauthorized
to http/https agent (probably dynamically base it on the forward to URL) based on the CLI input flagThe text was updated successfully, but these errors were encountered: