We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fe65e0 commit 9db84aeCopy full SHA for 9db84ae
1 file changed
hpilo.py
@@ -400,7 +400,7 @@ def close(self):
400
# Even more sadly, some iLOs are still using RC4-SHA
401
# which was dropped from the default cipher suite in
402
# Python 2.7.10 and Python 3.4.4. Add it back here :(
403
- self.ssl_context.set_ciphers("RC4-SHA:" + ssl._DEFAULT_CIPHERS)
+ self.ssl_context.set_ciphers(ssl._DEFAULT_CIPHERS + ":RC4-SHA")
404
return self.ssl_context.wrap_socket(
405
sock, server_hostname=self.hostname)
406
except ssl.SSLError as exc:
0 commit comments