simojenki / bonob

sonos SMAPI implementation allowing integrating different music sources with sonos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ignore self signed certificate

djusHa opened this issue · comments

Good Day,

nice Project!

Please add a possibility to ignore self signed certificate Errors.

Have running my gonic server behind a reverse proxy, with a self signed certificate, so on connect bonob says "cannot prove first certificate" or somethin.

What happens if you set this env var on the process/container?

NODE_TLS_REJECT_UNAUTHORIZED=0

This is not a great solution, a better one needs to be found, however this may get you working again in the meantime.

It works!

Set it as env on the docker container.

Thank you 👍