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
{{ message }}
Repository navigation
[Bug]: step ca init --key Doesn't Create A Key File #1748
I used step ca init --key with an existing certificate and existing key file to setup a new CA. I was later confused because even though the CLI initially printed this...
... the key file was never created at that location.
And forgive me if this would be a separate bug, but every time I tried to use step certificate create --ca-key with the non-existent path, it printed this every time:
exec: "step-kms-plugin": executable file not found in $PATH
Your Environment
OS - Ubuntu 26.04.1 LTS
step CLI Version - Smallstep CLI/0.31.0 (linux/amd64)
Expected Behavior
step ca init should print a key file path consistent with the --key option and/or create the expected file.
step certificate create should not throw plugin errors for a missing key file.
Actual Behavior
step ca init assumes the key file will always be created in the default location, even when that doesn't happen.
step certificate create throws exec: "step-kms-plugin": executable file not found in $PATH when the key file is missing.
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).
Activity