-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
fix self-signed-cert-validity parameter cannot be specified in the co… #13237
Conversation
Hi, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm Thanks @tangcong
This should be mention in the Changelog, and also backported to 3.5.0.
@spzala CHANGELOG has been updated. After pr is merged, I will cherry-pick it to release-3.5 branch. thanks. |
@@ -125,6 +125,9 @@ peer-transport-security: | |||
# Peer TLS using generated certificates. | |||
auto-tls: false | |||
|
|||
# The validity period of the self-signed certificate, the unit is year. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tangcong glad you didn't forget this :) thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, agree. For etcd.io, I will create an issue/work on clean sweep with all new flags. Thanks!
In etcd 3.5.0 version, you can specify parameters(etcd --self-signed-cert-validity 5) to bypass this problem. |
@tangcong Many thanks ! |
Hi, @tangcong
Not sure if there is something I am missing something. |
for the moment (on 3.5.0) in etcd.conf you need to use selfSignedCertValidity: 1 |
Thanks, I will try and I will come back to share my result. |
Hi, |
…of-#13145-etcd-io#13237-origin-release-3.5 [backport 3.5]: Automated cherry pick of etcd-io#13145 etcd-io#13237
Fix issue #13235