Subject: | Certificate verification problem should return helpful message |
Date: | Wed, 6 Nov 2013 11:08:26 +0100 |
To: | <bug-Xen-API [...] rt.cpan.org> |
From: | Ryszard Łach <ryszard.lach [...] unity.pl> |
Hi.
I'm trying to use Xen-API-0.06.tar.gz.
After calling Xen::API->new I get an error:
Use of uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.14.2/Xen/API.pm line 750, <STDIN> line 1.
at /usr/local/share/perl/5.14.2/Xen/API.pm line 750, <STDIN> line 1.
Tracing into with perldebug I can see:
DB<6>
RPC::XML::Client::simple_request(/usr/local/share/perl/5.14.2/RPC/XML/Client.pm:196):
196: if (! ref $return)
197: {
DB<6> p $return
RPC::XML::Client::send_request: HTTP server error: Can't connect to
myhost:443 (certificate verify failed)
Indeed, my xen host responds with self-signed certificate. It would be
nice, if it could be seen without debuger.
Best regards,
Ryszard.