dcaputo-harmoni / open-balena-admin

Open Balena Admin
MIT License
91 stars 18 forks source link

Can't login #34

Closed SEMINDU closed 3 weeks ago

SEMINDU commented 8 months ago

I have setup open-balena-admin, following the instructions. I started the containers, and everything seems to be working correctly. I can access the admin and dashboard, but I can't login to either of them.

Setup command $OPENBALENA_JWT_SECRET -v $OPENBALENA_API_VERSION_TAG -d $OPENBALENA_HOST_NAME -a $OPENBALENA_S3_ACCESS_KEY -s $OPENBALENA_S3_SECRET_KEY -U local@balena -P balena

I have tried the username local@balena and my password balena with no success What might I be doing wrong?

giuseppe443 commented 8 months ago

had a similar problem. Have you followed the instructions from the open balena getting started guide correctly? Specifically the part about setting up the ca.crt copied from the server correctly on the local machine?

SEMINDU commented 8 months ago

Yes I believe so. I can log in using balena CLI without a problem

giuseppe443 commented 8 months ago

I think the CLI uses the cert through the environment variable export NODE_EXTRA_CA_CERTS='/path/to/ca.crt'. The browser will need this one set up: sudo cp ca.crt /usr/local/share/ca-certificates/ca.crt sudo update-ca-certificates sudo systemctl restart docker

This was at least the problem I was having when I tried because I overlooked this step

dcaputo-harmoni commented 3 weeks ago

Closing due to inactivity