-
Notifications
You must be signed in to change notification settings - Fork 31
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
TLS not working with go 1.15 #20
Comments
@blakerouse Can you take a look at this, master is not on 1.15 yet, I think it's planned for 1.15. cc @urso interesting to know. |
go1.15 changes Certificate validation. @kvch is already looking into updating master to go1.15. The plan is to reenable host checking via For agent or whoever generates the certificates, should use SANs. Even before go 1.15 comes |
@urso Can you confirm that 1.15 is planned in 7.12? |
Actually we were thinking 7.11 |
PR upgrading to go1.15: elastic/beats#22495 Looks like we still have a few issues. Checking the 1.15 release notes it looks like there are potentially a few other gotchas. This one is my favorite (time to scan/update code and dependencies?):
I don't mind if we postpone this after until FF. |
@urso I checked our code and dependencies for possible context-related issues, but I haven't found anything which would cause problems. I checked in our deps with |
Yeah, I'm fine with that. |
as for elastic agent this affects IPC and agent to fleet communication. we could do two things here:
|
I am +1 to move to strict for the IPC, we can create the PR and sync with @ferullo's team for merging it. |
Removed from iteration, with the workaround in go 1.15.7, we think its sufficient. |
fixed by elastic/beats#22495 |
…lastic/beats/v7/libbeat/common/file.FileInfo` (elastic#20)
Summary
Compiling e.g. APM Server with
go 1.15
and trying to run it via elastic agent results in following error:The TLS related code is the same accross beats.
Related golang issues: https://github.com/golang/go/issues/39568 and https://github.com/golang/go/issues/40748
How to reproduce
go test ./pkg/client
withgo 1.15
leads to a timeoutOR
go 1.15
and try running it under elastic agent (currently only possible with manual plumbing) results in above mentioned errorThe text was updated successfully, but these errors were encountered: