Subject: | problem with SSL connection in Net::ILO on Centos 6 |
Date: | Thu, 11 Feb 2016 17:05:26 +0000 |
To: | "'bug-Net-ILO [...] rt.cpan.org'" <bug-Net-ILO [...] rt.cpan.org> |
From: | "Root, Paul T" <Paul.Root [...] CenturyLink.com> |
Hi,
I'm building a new server that monitors my systems. I have a script I wrote using Net::ILO to monitor my HP DL380 machine (gen 6 through 8).
This script works fine on CentOS 5. However, I get a connection error when trying to use it on CentOS 6.
After connecting to the ILO, I try to get information out of it.
my $ilo = Net::ILO->new ({
address => $ip,
username => ($opt_u ? $opt_u : 'xymon'),
password => ($opt_p ? $opt_p : 'password'),
debug => 3
});
push (@Output, " Model: ", $ilo->model, "\n");
DB<3> for $key (keys %{$ilo}) { print "$key: $$ilo{$key}\n"; }
password: password
error: Unable to establish SSL connection with 10.5.114.146:443 [SSL connect attempt failed error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed]
address: 10.5.114.146
port: 443
_client:
_debug: 3
_version:
username: xymon
In searching google, I came across this http://www.linuxquestions.org/questions/showthread.php?p=5243769#post5243769
Which says to disable SNI by using SSL_hostname => '' in the IO::Socket::SSL->new connection.
I tried putting this in the ILO.pm file on my server, but that didn't help.
Do you have any advice?
Paul.
Paul Root
Lead Engineer
CenturyLink Network Reliability Operations Center
390 Commerce Dr
Woodbury, MN 55125
Direct: (651)312-5207
Paul.Root@centurylink.com
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.