Skip to content

Commit

Permalink
Merge pull request #196 from projectcalico/remove-tls-option
Browse files Browse the repository at this point in the history
Fix incompatibility with etcd 3: don't set TLSv1 protocol in the client
  • Loading branch information
fasaxc committed Sep 1, 2016
2 parents 152b809 + 80f9369 commit 0d0145f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/etcd/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ def uri(protocol, host, port):
if self._read_timeout > 0:
kw['timeout'] = self._read_timeout

if protocol == 'https':
# If we don't allow TLSv1, clients using older version of OpenSSL
# (<1.0) won't be able to connect.
_log.debug("HTTPS enabled.")
kw['ssl_version'] = ssl.PROTOCOL_TLSv1

if cert:
if isinstance(cert, tuple):
# Key and cert are separate
Expand Down

0 comments on commit 0d0145f

Please sign in to comment.