ory / hydra-consent-app-express

A simple nodejs consent app based on express - for Hydra =< 1.0.0
Apache License 2.0
37 stars 18 forks source link

Unhandled rejection Error: self signed certificate #3

Closed marr closed 6 years ago

marr commented 7 years ago

Hi, I am trying to set this project up with a dockerized container running hydra. I get the following error after setting the HYDRA_URL, HYDRA_CLIENT_ID, and HYDRA_CLIENT_SECRET variables and running npm start:

Unhandled rejection Error: self signed certificate at TLSSocket. (_tls_wrap.js:1108:38) at emitNone (events.js:105:13) at TLSSocket.emit (events.js:207:7) at TLSSocket._finishInit (_tls_wrap.js:638:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:468:38)

Thanks for any help

aeneasr commented 7 years ago

Try setting

NODE_TLS_REJECT_UNAUTHORIZED=0

Am 09.10.2017 um 22:46 schrieb David Marr notifications@github.com:

Hi, I am trying to set this project up with a dockerized container running hydra. I get the following error after setting the HYDRA_URL, HYDRA_CLIENT_ID, and HYDRA_CLIENT_SECRET variables and running npm start:

Unhandled rejection Error: self signed certificate at TLSSocket. (_tls_wrap.js:1108:38) at emitNone (events.js:105:13) at TLSSocket.emit (events.js:207:7) at TLSSocket._finishInit (_tls_wrap.js:638:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:468:38)

Thanks for any help

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.