anyone tried setting up kratos + kratos-selfservic...
# ory-selfhosting
r
anyone tried setting up kratos + kratos-selfservice-ui-node on 127.0.0.1 using HTTPS? I feel I have configured all places to use https://127.0.0.1 in
quickstart.yml
and
contrib/quickstart/kratos/email-password/kratos.yml
yet when going to
<https://127.0.0.1:4455/login>
(the “Sign In” link in the UI) i will get redirected to
<http://127.0.0.1:4433/self-service/login/browser?aal=&refresh=&return_to=>
(so, using http, not https://). I have set:
Copy code
kratos-selfservice-ui-node:
    image: eest/kratos-selfservice-ui-node:v1.0.0
    environment:
      - KRATOS_PUBLIC_URL=<https://kratos:4433/>
      - KRATOS_BROWSER_URL=<https://127.0.0.1:4433/>
so I am not sure why the node service is still trying to send me to http://…
oh man, some
console.log()
debugging later i noticed the value was also set in
quickstart-standalone.yml
, so my change in
quickstart.yml
was overwritten facepalm 🙂
s
FWIW - I have a lot of success configuring the self service UI node within docker compose. I didn't use https though.
r
i got https to work now it seems, i did need to set
Copy code
- NODE_EXTRA_CA_CERTS=/tls/ca.pem
to have selfservice-ui-node pick up my CA to accept the self signed certs presented by kratos, but with that it seems to work for basic login at least
(in quickstart.yml)