Skip to content

Conversation

@bfirsh
Copy link
Member

@bfirsh bfirsh commented Apr 13, 2014

No description provided.

@aanand
Copy link
Member

aanand commented Apr 25, 2014

Cross-compiling Go and hidden uses of cgo:

Unfortunately, in OS X, the root certificates are stored in Apple’s Keychain software, and interfacing with that requires cgo. The saddening result of this is that a cross-compiled Go binary targeting OS X will not be able to use SSL/TLS correctly. Instead, it might return the following error:

x509: failed to load system roots and no roots provided

I get this when trying to run the build/darwin artifact :(

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.

3 participants