ILO2_HEALTH UNKNOWN – ERROR: Failed to establish SSL connection with …

Very excellent.

For me, with ilo2 and latest firmware, i have aa error :
ILO2_HEALTH UNKNOWN – ERROR: Failed to establish SSL connection with *****

Changed :
$client = new IO::Socket::SSL->new(PeerAddr => $host);

to:
$client = new IO::Socket::SSL->new(PeerAddr => $host,SSL_verify_mode => SSL_VERIFY_NONE);

After, check is fully ok.