cyberark-conjur-cli-docker-based icon indicating copy to clipboard operation
cyberark-conjur-cli-docker-based copied to clipboard

Trailing slashes on appliance URLs break CLI functionality

Open UberKitten opened this issue 3 years ago • 0 comments

Summary

Trailing slashes on appliance URLs break CLI functionality

Steps to Reproduce

Steps to reproduce the behavior:

  1. Provide an https URL with a trailing slash during init like conjur init -u https://example.com/ -a cucumber
  2. Attempt to login with any user and password using conjur authn login (have not tested hosts)

Expected Results

Successful login.

Actual Results (including error logs, if applicable)

Error "Unable to authenticate with Conjur. Please check your credentials." with no information as to why.

Reproducible

  • [X] Always
  • [ ] Sometimes
  • [ ] Non-Reproducible

Version/Tag number

Tried with Docker and Ruby conjur-cli while connecting to v5 Conjur.

Environment setup

If needed, I can provide this out-of-band over email or Slack DM.

Additional Information

When you copy URLs from Chrome, they include the trailing slash.

UberKitten avatar Jul 01 '21 04:07 UberKitten