Replies: 1 comment
-
Hi Frank, Just in time, version 0.19.0 of Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @ALL,
I have a virtual lab where each container/ VM gets a certificate.
My step-ca issues in default certificates with a validity of one day.
But often containers/VMs are shutdown for several days or weeks,
so that
step-cli ca renew
refuses its service with: "cannot renew an expired certificate".But I also find it excessive to renew all certificates at every startup.
Therefore I suggest to add a flag to
step-cli ca renew
, that it will request a new certificate if a normal renew is not possible anymore.I tried to create this behavior via a bash script.
Since
step-cli ca renew <CRT> <KEY> --daemon --force
does not switch to background when it finds a certificate that can be renewed', I have to work with a "&" in the script. Unfortunately, I can then only indirectly find out if the renew is running by checking if the PID still exists after a few seconds.This is not a good solution for me.
Thanks Frank
Beta Was this translation helpful? Give feedback.
All reactions