HP iLO4 SSL circular reference?

Apply the following patch:
--- /usr/local/lib/python3.7/site-packages/hpilo.py~ 2020-10-06 19:52:33.000000000 +0200
+++ /usr/local/lib/python3.7/site-packages/hpilo.py 2020-10-29 08:41:25.082982000 +0100
@@ -400,7 +400,7 @@
# Even more sadly, some iLOs are still using RC4-SHA
# which was dropped from the default cipher suite in
# Python 2.7.10 and Python 3.4.4. Add it back here :frowning:

  •            self.ssl_context.set_ciphers("RC4-SHA:" + ssl._DEFAULT_CIPHERS)
    
  •            self.ssl_context.set_ciphers(ssl._DEFAULT_CIPHERS)
           return self.ssl_context.wrap_socket(
               sock, server_hostname=self.hostname)
       except ssl.SSLError as exc:
    

The problem is that RC4-SHA is no longer available in openssl. Thus this call will fail. Your iLO doesn't need RC4-SHA (and you have upgraded to 2.75?)

regards, Matthias

3 Likes