Bug 1276255 - golang-1.5 breaks tls handshake certificate chain verification
golang-1.5 breaks tls handshake certificate chain verification
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: golang (Show other bugs)
23
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Vincent Batts
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 1274854
  Show dependency treegraph
 
Reported: 2015-10-29 05:22 EDT by Jan Chaloupka
Modified: 2015-10-29 10:53 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-29 10:53:10 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Chaloupka 2015-10-29 05:22:05 EDT
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
Comment 1 Jan Chaloupka 2015-10-29 05:40:33 EDT
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
Comment 2 Jan Chaloupka 2015-10-29 10:53:10 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.