Description of problem: When building kubernetes with go-1.5, 'kubectl exec --v=9 mock /bin/sh -i' ends with "tls: handshake did not verify certificate chain". This does not happen with go-1.4, Version-Release number of selected component (if applicable): golang-1.5.1-1.fc23 How reproducible: always Steps to Reproduce: See bz#1274854
Based on https://github.com/golang/go/issues/12024, it should be fixed. This PR [1] introduces the issue. This PR [2] is supposed to fix it. Does not appear so. Maybe it is a question of correct configuration. [1] https://github.com/golang/go/commit/3cf15b57f76400b22366ccd8ef5b211c72ab6a7f [2] https://github.com/golang/go/commit/46a29138827cefb15e437f291cbb2ccda685b840
Confirming it is fixed in golang. Kubernetes upstream has refactored and patched the code for TLS connection in 1.2. Backporting the patch to 1.0.6 solves the issue.