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

Use workaround for windows x509.SystemCertPool() #4018

Merged
merged 2 commits into from
Sep 22, 2020
Merged

Conversation

nikkictl
Copy link

@nikkictl nikkictl commented Sep 22, 2020

Signed-off-by: Nikki Attea nikki@sensu.io

What is this change?

Implements the workaround detailed in golang/go#16736 (comment) to fix asset trusted ca file on windows agents.

Why is this change necessary?

Closes #4016

Does your change need a Changelog entry?

No, not a regression, fixes bug introduced in unreleased #3975 The trusted CA file is now used for agent-side asset retrieval.

Do you need clarification on anything?

Nah.

Were there any complications while making this change?

giphy

Have you reviewed and updated the documentation for this change? Is new documentation required?

We good.

How did you verify this change?

I deployed a whole windows golang env to test this 🙃 Verifying in a build with crucible now.

Is this change a patch?

Yes, but targeting master for the next release.

Nikki Attea added 2 commits September 22, 2020 14:24
Signed-off-by: Nikki Attea <nikki@sensu.io>
Signed-off-by: Nikki Attea <nikki@sensu.io>
@nikkictl nikkictl self-assigned this Sep 22, 2020
Copy link
Contributor

@palourde palourde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, can't really test that on a Windows change so I'll rely on your tests made on staging!

@nikkictl nikkictl merged commit 792b588 into master Sep 22, 2020
@nikkictl nikkictl deleted the bugfix/windows-certs branch September 22, 2020 19:06
wscheele added a commit to wscheele/jaeger that referenced this pull request Oct 11, 2020
Resolves jaegertracing#2550
Borrows workaround from Sensu:
sensu/sensu-go#4018

Signed-off-by: Wouter Scheele <wscheele@sf.local>
wscheele added a commit to wscheele/jaeger that referenced this pull request Oct 11, 2020
Resolves jaegertracing#2550
Borrows workaround from Sensu:
sensu/sensu-go#4018

Signed-off-by: Wouter Scheele <wscheele@sf.local>
Signed-off-by: Wouter Scheele <wscheele@gmail.com>
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

Successfully merging this pull request may close these issues.

Asset retrieval with a trusted CA file appears to be broken on Windows
2 participants