Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login #34

Closed
SEMINDU opened this issue Jan 16, 2024 · 4 comments
Closed

Can't login #34

SEMINDU opened this issue Jan 16, 2024 · 4 comments

Comments

@SEMINDU
Copy link

SEMINDU commented Jan 16, 2024

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
Copy link

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
Copy link
Author

SEMINDU commented Jan 19, 2024

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

@giuseppe443
Copy link

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
Copy link
Owner

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants