-
Notifications
You must be signed in to change notification settings - Fork 256
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
Unclear error when CA fingerprint does not match #841
Comments
The cli issues a HTTP GET request to
I can see two ways to get a more meaningful error message here:
(1) seems preferable to me, since there might be other consumers of the REST API. @tashian, wdyt? |
First option would be my choice too. A combination of the two might also be possible, but I think then we would preferably have an application error code as a field in the response, which the CLI (and possibly other clients) can act on. That's what's done with the ACME API, and would be nice if we'd implement this on more endpoints. But just a clearer message will get the job done now. |
When the CA URL is correct, and the fingerprint does not match, the output of
step ca bootstrap
is confusing:It would be nice here if the client could say that the cert fingerprint doesn't match.
The text was updated successfully, but these errors were encountered: