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

crypto/x509: CGO_ENABLED=0 x509: certificate signed by unknown authority #38365

Closed
kotyara85 opened this issue Apr 10, 2020 · 6 comments
Closed
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Darwin WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@kotyara85
Copy link

kotyara85 commented Apr 10, 2020

What version of Go are you using (go version)?

go version go1.12.14 darwin/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

darwin/amd64

What did you do?

We're using akamai zta, which means the path is our cli tool -> sso -> website

What did you expect to see?

Downloaded page

What did you see instead?

x509: certificate signed by unknown authority

This only works if CGO_ENABLED=1, but we need to build darwin & windows images inside linux docker image

@andybons
Copy link
Member

Can you provide a small program that demonstrates this behavior?

@andybons andybons changed the title CGO_ENABLED=0 x509: certificate signed by unknown authority crypto/x509: CGO_ENABLED=0 x509: certificate signed by unknown authority Apr 10, 2020
@andybons andybons added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Apr 10, 2020
@andybons andybons added this to the Unplanned milestone Apr 10, 2020
@andybons
Copy link
Member

@FiloSottile @katiehockman

@gopherbot
Copy link

Change https://golang.org/cl/227037 mentions this issue: crypto/x509: use Security.framework without cgo for roots on macOS

@kotyara85
Copy link
Author

This fix didn't solve the problem on 1.14.3

@FiloSottile
Copy link
Contributor

This fix will be released in Go 1.15, not a minor release.

@kotyara85
Copy link
Author

Gotcha, thanks

@golang golang locked and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Darwin WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants