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

Default nginx.htpasswd admin password misleading? #3

Closed
infinite-dao opened this issue Apr 22, 2021 · 1 comment
Closed

Default nginx.htpasswd admin password misleading? #3

infinite-dao opened this issue Apr 22, 2021 · 1 comment

Comments

@infinite-dao
Copy link

infinite-dao commented Apr 22, 2021

Hej hej,

what password is the default nginx.htpasswd providing?

Because I found it may be misleading to use YWG41BPzVAkN6 from nginx.htpasswd

After I missed to log in (mentioned in Alfresco/alfresco-docker-installer#74 (comment)) with password admin e.g. to my custom site https://custom-server-name.org/solr and other passwords that I tried, I found it has to be generated by htpasswd (see Restricting Access with HTTP Basic Authentication; docs.nginx.com):

htpasswd /path/to/nginx.htpasswd whateverusername

So if the default password shall be YWG41BPzVAkN6, then nginx.htpasswd should contain e.g:

admin:$apr1$Nqdhv8hR$gEsnbvQXzZKM6stsIoYFz1

… or if the password shall be admin then e.g:

admin:$apr1$94LKbA3l$fawCs80fVfXNG.IMlazEl1

Right? After grasping and setting it, I could log in as expected to https://custom-server-name.org/solr web console ;-)

@aborroy
Copy link
Owner

aborroy commented Aug 9, 2021

It was admin, you are hashing again the hashed password.

@aborroy aborroy closed this as completed Aug 9, 2021
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