cli icon indicating copy to clipboard operation
cli copied to clipboard

[Bug]: `step ca health` returns internal server error if `step-ca` can't be reached

Open hslatman opened this issue 3 years ago • 0 comments

Steps to Reproduce

  • DON'T run step-ca
  • Run step ca health (using the right context, if in use)

Your Environment

  • OS - macOS 12.x
  • step CLI Version - latest dev

Expected Behavior

Show an error indicating the CA isn't reachable

Actual Behavior

$ step ca health --context my-context
The certificate authority encountered an Internal Server Error. Please see the certificate authority logs for more info.
Re-run with STEPDEBUG=1 for more info.
exit status 1

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

hslatman avatar Aug 25 '22 20:08 hslatman