-
Notifications
You must be signed in to change notification settings - Fork 242
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
Clarify ca.json edit commands #836
Labels
Milestone
Comments
maraino
added
enhancement
needs triage
Waiting for discussion / prioritization by team
labels
Jan 24, 2023
One workaround for this (until the next cli release) is to set a fake
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Commands like
step ca provisioner add
default currently to use the remote configuration, aka adminAPI if the CA configured in your has it enabled. But if we want to edit a localca.json
, the usage is confusing.This command might not edit
myca.json
. It will if yourdefaults.json
doesn't point to a CA, or if it does, that CA is not up or doesn't have the adminAPI enabled.Currently,
--ca-config
is always set to$(step path)/config/ca.json
. If we remove that default value, we can use edit the local file if--ca-config
is passed and attempt remote edit if does not.Optionally, although I think it will be confusing if the remote configuration is not enabled or the server is not up, we can attempt to edit
$(step path)/config/ca.json
if available. But that might be more backward compatible.The text was updated successfully, but these errors were encountered: