-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Replacing expired trust anchor fails #4808
Comments
Thanks for this report, @D3N14L. You're right, |
After some investigation, it looks like the issue here is actually that your In the meantime, you can manually delete the
Let me know if you run into any difficulties with this! |
@adleong @ihcsim Sorry for the late response - I did not had the chance to test @adleong s suggestion. Our prod cert expired closely after the dev, so I was kind of in a hurry. The only solution that I could think of was reinstalling linkerd and restarting all the pods. That, although it produced a short downtime, worked as expected. |
Fine with me - thanks for looking into it! |
Bug Report
What is the issue?
The trust anchor certificate expired and I tried to replace it following the procedure in: https://linkerd.io/2/tasks/replacing_expired_certificates/ but the command in the documentation failed, due to the certificate expiration it is trying to fix.
How can it be reproduced?
Setup a new linkerd instance with a certificate that expires very soon.
Logs, error output, etc
I created a complete set of new certs with
step
. Including issuer cert and key. and tried to update my manifests by using theupgrade
command with--force
option per documentation.It failed because... the certificate that I wanted to replace is expired, well...
linkerd check
outputEnvironment
Possible solution
Deleted and reinstalled linkerd with the new certificates.
Additional context
The text was updated successfully, but these errors were encountered: