Using smee to route webhooks from web to localhost

Goto smee:

https://smee.io/

Click create channel:

Install smee-client:

npm install --global smee-client@1.1.0

Now run below command:

smee -u https://smee.io/DMlZhNYFV0RC20Cm -t https://localhost:8443

if you are using self signed certificate then: (In linux) do the same for windows using set command

export NODE_EXTRA_CA_CERTS=/home/test/Downloads/DefectDojo/django-DefectDojo/nginx/nginx.crt

If self signed certificate without CA authority then just use:

you don’t have to use NODE_EXTRA_CA_CERTS

export NODE_TLS_REJECT_UNAUTHORIZED=0