-
Notifications
You must be signed in to change notification settings - Fork 925
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
How to rotate karmada certificate if it is expired #4787
Comments
Is there a solution to this problem? |
Hope we can get an answer by karmada-io/community#69. |
I come from Jiajiayue Group, and my certificate expires in 1 year by default. I installed it through Karmadectl. Manually building certificates through cfSSL is very cumbersome, and I hope to develop a one click renewal tool similar to
|
Please provide an in-depth description of the question you have:
In many installation methods, the expiration time of the Karmada certificates is 365 days, when the time is up, most components will crash, just like:
so, how to rotate karmada certificate if it is expired?
How to reproduce it?:
Step 1. modify
hack/util.sh
:karmada/hack/util.sh
Lines 216 to 217 in c81649a
modify
-days 365
to-days 1
in Line 216, so that default CA cert expiration time change to 1 day,modify
"expiry":"43800h"
to"expiry":"1h"
in Line 217, so that default karmada-apiserver cert expiration time change to 1 hour,just like:
Step 2. re-install karmada by
hack/local-up-karmada.sh
Step 3. 1 hour later, the most component would crash down.
Environment:
The text was updated successfully, but these errors were encountered: