Subject: | LWP 6.0 breaks Net::XRC due to self-signed certificates |
Upgrading to LWP 6.0 breaks this module since everyone.net uses a self-
signed certificate for their XRC service.
It would be nice if the LWP::UserAgent constructor inside of Net/XRC.pm
added the options to disable the hostname checking:
LWP::UserAgent->new(
ssl_opts { verify_hostname => 0 }
);
As a workaround you can add this snippet BEFORE Net::XRC is use'd:
BEGIN {
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
}
use Net::XRC;
and it will continue to work.