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

Unable to login using the crednetials #1

Open
kannangce opened this issue Nov 22, 2019 · 6 comments
Open

Unable to login using the crednetials #1

kannangce opened this issue Nov 22, 2019 · 6 comments

Comments

@kannangce
Copy link

I tried logging into the mongo service using the below crednetials,

  • admin/myadminpass
  • mongodb/mymongopass

None of them worked. But when I tried without username/password, I got into the shell, but I'm unable to perform any operation. When I try to execute any query such as show dbs, I'm getting the below error,

E QUERY [js] Error: there are no users authenticated :

@Ritesh-Yadav
Copy link
Owner

Hi Kannan,

Did you follow instructions mentioned in https://ritesh-yadav.github.io/tech/docker-instance-of-mongodb-with-ssl-support/ post? If yes, what’s the content of the setup_user.sh file.

@kannangce
Copy link
Author

Hi Ritesh,
I didn't exactly follow the blog.

  • I checkout out your project.
  • Generated the certificates and updated under the ssl folder.
  • Built and started the docker as mentioned in the README.

My server is starting. But I'm unable to login to the server with the default values in the setup_user.sh.

@Ritesh-Yadav
Copy link
Owner

Ritesh-Yadav commented Nov 22, 2019

Hmmm... I have not ran it in long time. I will try to run and see what’s going on.

@Ritesh-Yadav
Copy link
Owner

How did you create a certificate? Is it self-signed?

@kannangce
Copy link
Author

Yes, Ritesh. the certificate is self-signed.

@kannangce
Copy link
Author

Hmmm... I have not ran it in long time. I will try to run and see what’s going on.

Sure Ritesh. That could help. Parallelly I'll also check if I'm missing something.

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

2 participants