projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc02a82
)
Ticket #38938 Deal with invalid SSL certs on CDR import
author
Jeremy Davis
<jeremyd@freeside.biz>
Mon, 11 Jan 2016 12:57:42 +0000
(07:57 -0500)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Mon, 11 Jan 2016 12:57:42 +0000
(07:57 -0500)
FS/FS/part_export/pbxware.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/pbxware.pm
b/FS/FS/part_export/pbxware.pm
index
36b1a2a
..
7dd381c
100644
(file)
--- a/
FS/FS/part_export/pbxware.pm
+++ b/
FS/FS/part_export/pbxware.pm
@@
-168,6
+168,10
@@
sub api_request {
my $self = shift;
my ($method, $content) = @_;
$DEBUG ||= 1 if $self->option('debug');
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,
my $url = 'https://' . $self->machine;
my $request = POST($url,
[ %$content,