Skip to content
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

Unable to connect to the server: x509: certificate has expired or is not yet valid #3047

Closed
silverlight opened this issue Mar 11, 2021 · 3 comments

Comments

@silverlight
Copy link

silverlight commented Mar 11, 2021

K3S version: v1.17.3+k3s1 (5b17a17)
K3S stopped working because the disk usage of my server reached 100% a few months ago. Recently restarted K3S after restoring the server and got this error "Unable to connect to the server: x509: certificate has expired or is not yet valid". I tried to set the server time back to 90 days less than the current time, K3S works fine, but once the time is adjusted back to the current time, K3S cannot work normally. What I need to do to solve this problem?

@brandond
Copy link
Contributor

Upgrade to 1.19 or newer. There were some issues with certificate auto-renewal that were not fixed until that release.

@silverlight
Copy link
Author

Upgrade to 1.19 or newer. There were some issues with certificate auto-renewal that were not fixed until that release.

fixed,thanks a lot !

@brandond
Copy link
Contributor

Glad to hear it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants