mtakaki / cachet-url-monitor

URL monitor plugin for cachethq.io
MIT License
125 stars 49 forks source link

Self-Signed certificate #87

Closed si-mmarcoux closed 4 years ago

si-mmarcoux commented 4 years ago

Hi getting this error requests.exceptions.SSLError: HTTPSConnectionPool(host='cachetdocker_cachet_1', port=8000): Max retries exceeded with url: /api/v1/components/1 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1056)')))

Could it be avoided by doing the REQUEST variable? Thanks Math

mtakaki commented 4 years ago

Hi @crak-mmarcoux, yes, I believe so. You can see more context here: #46 The environment variable is REQUESTS_CA_BUNDLE and you need to point it at your ca bundle.

si-mmarcoux commented 4 years ago

Looks ok! I opened a non-ssl page.

mtakaki commented 4 years ago

Thanks for confirming it, @crak-mmarcoux. Feel free to re-open it if you see it again.