Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE...
authorIvan Kohler <ivan@freeside.biz>
Mon, 11 Jan 2016 15:05:28 +0000 (07:05 -0800)
committerIvan Kohler <ivan@freeside.biz>
Mon, 11 Jan 2016 15:05:28 +0000 (07:05 -0800)
FS/FS/part_export/pbxware.pm

index 36b1a2a..7dd381c 100644 (file)
@@ -168,6 +168,10 @@ sub api_request {
   my $self = shift;
   my ($method, $content) = @_;
   $DEBUG ||= 1 if $self->option('debug');
+
+# kludge to curb excessive paranoia in LWP 6.0+
+local $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;
+
   my $url = 'https://' . $self->machine;
   my $request = POST($url,
     [ %$content,