-
Notifications
You must be signed in to change notification settings - Fork 284
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
etcd snapshot does x509 host name verification even when skip verify is true #1870
Comments
Hey @briandowns it looks like we only pass through the EtcdS3SkipSSLVerify flag if EtcdS3EndpointCA is not empty, which seems like a bug - you probably wouldn't configure a custom CA if you wanted to disable certificate verification. |
Passing in a random CA file works around the issue and allows skip verify to work. Thanks. |
Validated on master branch commit
|
Environmental Info:
RKE2 Version: v1.21.4 rke2r3
Describe the bug:
Even when passing
--s3-skip-ssl-verify
toetcd-snapshot
the CLI will attempt to do host name verification on the certificate presented. In our case this is not matching so the verification fails.Steps To Reproduce:
--s3-skip-ssl-verify
Expected behavior:
The backup should complete since we intentionally skip SSL verification.
Actual behavior:
The backup fails with the error:
The text was updated successfully, but these errors were encountered: