X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fsipwise.pm;h=9d4e3366e859be146cd4c1077854fd2cfb05042d;hp=8fec013001f408742439273b409c571742a9f81e;hb=820906c790f19828477eabd37218c71c2a724d86;hpb=f42c91c8d9c1f31752451f851cdf29c47f096b39 diff --git a/FS/FS/part_export/sipwise.pm b/FS/FS/part_export/sipwise.pm index 8fec01300..9d4e3366e 100644 --- a/FS/FS/part_export/sipwise.pm +++ b/FS/FS/part_export/sipwise.pm @@ -5,6 +5,7 @@ use strict; use FS::Record qw(qsearch qsearchs dbh); use Tie::IxHash; +use IO::Socket::SSL; use LWP::UserAgent; use URI; use Cpanel::JSON::XS; @@ -801,7 +802,10 @@ sub ua { $self->{_ua} ||= do { my @opt; if ( $self->option('ssl_no_verify') ) { - push @opt, ssl_opts => { verify_hostname => 0 }; + push @opt, ssl_opts => { + verify_hostname => 0, + SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE, + }; } my $ua = LWP::UserAgent->new(@opt); $ua->credentials(