-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
certificate issue on darwin #1334
Comments
Unfortunately, this is a Go problem (golang/go#14514); it's possible that rebuilding Vault yourself as a dynamic binary will cause different behavior. Hopefully Go 1.7 will fix this. |
By the way, I can confirm that compiling Vault 0.5.2 with CGO enabled does successfully work around this issue. |
@consultantRR Good to know that you were able to work around the problem! This issue was reopened by mistake. Closing this again. |
FYI: We switched to a different CA loading package that has explicit support for trying to work around this problem, so in the next release of Vault this may "just work" (without needing to fall back to building yourself with cgo enabled). |
Fantastic, I look forward to testing. |
Using Vault version
0.5.2
, the following works fine on Linux (both CLI and API):API:
CLI:
However, on Darwin (OS X 10.11.4 in this case), the API works (ie: the system trusts the cert), but the CLI fails:
API:
CLI:
I have redacted the server name in all cases here, but the cert is signed by a root CA that is installed on both the example Linux and Darwin clients above (and as you can see from the API examples, is trusted on both the Linux and Darwin clients).
This is from
curl -v
if it is helpful in isolating the problem to a specific type of cert:The text was updated successfully, but these errors were encountered: