docker_vault icon indicating copy to clipboard operation
docker_vault copied to clipboard

AuthN to webui over HTTP does not work

Open anshumanbh opened this issue 8 years ago • 7 comments

screen shot 2018-01-04 at 4 40 46 pm

I am seeing this on trying to authenticate to the webui with webui/webui as the user/pass combo.

Any idea why?

anshumanbh avatar Jan 05 '18 00:01 anshumanbh

Hi @anshumanbh, did you enable SSL by any chance?

marco-lancini avatar Jan 05 '18 21:01 marco-lancini

nope, was I supposed to? I just git cloned your code and ran it

anshumanbh avatar Jan 05 '18 21:01 anshumanbh

can you access the logs of the webui container?

marco-lancini avatar Jan 06 '18 20:01 marco-lancini

Hi Marco,

I'm experiencing the same error of Anshuman Me too downloaded and just run the project, haven't enabled SSL

logs of webui: docker logs webui yarn run v1.6.0 $ node ./server.js start_app Vault UI listening on: 8000

any help is appreciated

em-mai avatar Feb 25 '19 16:02 em-mai

Hi Marco,

clicking on the settings icon in vault login screen I removed https and choose as auth method User/Pass

that seems to have fixed the SSL error but now I'm getting the message "Error: Vault is sealed"

any idea?

thanks

em-mai avatar Feb 25 '19 16:02 em-mai

Hi @em-mai, that message indicates the Vault is still sealed. Did you run the unseal script (_scripts/unseal.sh)?

marco-lancini avatar Feb 25 '19 21:02 marco-lancini

Thank you Marco for your quick reply!

I got this error when running the unseal script: $ ./_scripts/unseal.sh [] Config local environment... [] Unseal vault... ./_scripts/unseal.sh: line 8: vault: command not found ./_scripts/unseal.sh: line 9: vault: command not found ./_scripts/unseal.sh: line 10: vault: command not found

  • I have the 3 containers running in _data folder I have keys.txt generated, but it is empty..

any little help?

ciao

em-mai avatar Feb 26 '19 10:02 em-mai