You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It generated the following files: ~/.conjurrc, ~/conjur-server.pem
Then tried to login using > conjur -d login -i admin -p 'M!P@ssw0rd2020'
got this error: Failed to log in to Conjur. Unable to authenticate with Conjur. Reason: 401 Client Error: Unauthorized for url: https://myvault.xxxxxxxxxxxxx.com/authn/myvault/login. Check your credentials and try again
Expected Results
user logged in
Actual Results
A clear and concise description of what actually did happen. Include logs and
screens shots, whenever possible
*2022-05-13 14:23:56,235 DEBUG: Attempting to fetch 'admin' API key from Conjur...
2022-05-13 14:23:56,275 DEBUG: Starting new HTTPS connection (1): myvault.xxxxxxxxxxx.com:443
2022-05-13 14:23:56,594 DEBUG: https://myvault.xxxxxxxxxxxxx.com:443 "GET /authn/myvault/login HTTP/1.1" 401 None
2022-05-13 14:23:56,601 DEBUG: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/conjur/cli.py", line 546, in run
Cli.run_action(resource, args)
File "/usr/local/lib/python3.9/site-packages/conjur/cli.py", line 735, in run_action
Cli.handle_login_logic(credential_provider, args.identifier, args.password, args.ssl_verify)
File "/usr/local/lib/python3.9/site-packages/conjur/cli.py", line 614, in handle_login_logic
login_controller.load()
File "/usr/local/lib/python3.9/site-packages/conjur/controller/login_controller.py", line 47, in load
self.get_api_key(conjurrc)
File "/usr/local/lib/python3.9/site-packages/conjur/controller/login_controller.py", line 87, in get_api_key
self.credential_data.password = self.login_logic.get_api_key(self.ssl_verify,
File "/usr/local/lib/python3.9/site-packages/conjur/logic/login_logic.py", line 53, in get_api_key
api_key = invoke_endpoint(HttpVerb.GET,
File "/usr/local/lib/python3.9/site-packages/conjur/wrapper/http_wrapper.py", line 86, in invoke_endpoint
raise http_error
File "/usr/local/lib/python3.9/site-packages/conjur/wrapper/http_wrapper.py", line 80, in invoke_endpoint
response.raise_for_status()
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://myvault.xxxxxxxxxxx.com/authn/myvault/login
*
The text was updated successfully, but these errors were encountered:
Summary
Once the stack is deployed and Conjur web page show green, I am able to initialize Conjur but I am unable to login in as admin.
Steps to Reproduce
Expected Results
user logged in
Actual Results
A clear and concise description of what actually did happen. Include logs and
screens shots, whenever possible
Reproducible
v0.1.0
Environment setup
Additional Information
*2022-05-13 14:23:56,235 DEBUG: Attempting to fetch 'admin' API key from Conjur...
2022-05-13 14:23:56,275 DEBUG: Starting new HTTPS connection (1): myvault.xxxxxxxxxxx.com:443
2022-05-13 14:23:56,594 DEBUG: https://myvault.xxxxxxxxxxxxx.com:443 "GET /authn/myvault/login HTTP/1.1" 401 None
2022-05-13 14:23:56,601 DEBUG: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/conjur/cli.py", line 546, in run
Cli.run_action(resource, args)
File "/usr/local/lib/python3.9/site-packages/conjur/cli.py", line 735, in run_action
Cli.handle_login_logic(credential_provider, args.identifier, args.password, args.ssl_verify)
File "/usr/local/lib/python3.9/site-packages/conjur/cli.py", line 614, in handle_login_logic
login_controller.load()
File "/usr/local/lib/python3.9/site-packages/conjur/controller/login_controller.py", line 47, in load
self.get_api_key(conjurrc)
File "/usr/local/lib/python3.9/site-packages/conjur/controller/login_controller.py", line 87, in get_api_key
self.credential_data.password = self.login_logic.get_api_key(self.ssl_verify,
File "/usr/local/lib/python3.9/site-packages/conjur/logic/login_logic.py", line 53, in get_api_key
api_key = invoke_endpoint(HttpVerb.GET,
File "/usr/local/lib/python3.9/site-packages/conjur/wrapper/http_wrapper.py", line 86, in invoke_endpoint
raise http_error
File "/usr/local/lib/python3.9/site-packages/conjur/wrapper/http_wrapper.py", line 80, in invoke_endpoint
response.raise_for_status()
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://myvault.xxxxxxxxxxx.com/authn/myvault/login
*
The text was updated successfully, but these errors were encountered: