open-balena-admin icon indicating copy to clipboard operation
open-balena-admin copied to clipboard

Can't login

Open SEMINDU opened this issue 1 year ago • 3 comments

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?

SEMINDU avatar Jan 16 '24 09:01 SEMINDU

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?

giuseppe443 avatar Jan 19 '24 10:01 giuseppe443

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

SEMINDU avatar Jan 19 '24 15:01 SEMINDU

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

giuseppe443 avatar Jan 19 '24 16:01 giuseppe443

Closing due to inactivity

dcaputo-harmoni avatar Sep 08 '24 04:09 dcaputo-harmoni