X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fispconfig3.pm;h=9d22d1995c32691b9a74c092c810ae304e238c3c;hp=3345b3f06257e17a25bf416d72d3b6264c4bf588;hb=820906c790f19828477eabd37218c71c2a724d86;hpb=f42c91c8d9c1f31752451f851cdf29c47f096b39 diff --git a/FS/FS/part_export/ispconfig3.pm b/FS/FS/part_export/ispconfig3.pm index 3345b3f06..9d22d1995 100644 --- a/FS/FS/part_export/ispconfig3.pm +++ b/FS/FS/part_export/ispconfig3.pm @@ -6,6 +6,7 @@ use base qw( FS::part_export ); use Data::Dumper; use SOAP::Lite; +use IO::Socket::SSL; =pod @@ -299,7 +300,12 @@ sub api_login { } $self->{'__ispconfig_session'} = undef; $self->{'__ispconfig_client'} = - SOAP::Lite->proxy($self->option('soap_location'), ssl_opts => [ verify_hostname => 0 ] ) + SOAP::Lite->proxy( $self->option('soap_location'), + ssl_opts => [ + verify_hostname => 0, + SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE, + ] + ) || undef; unless ($self->{'__ispconfig_client'}) { $self->{'__ispconfig_error'} = 'Error creating SOAP client';