X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fispconfig3.pm;h=9d22d1995c32691b9a74c092c810ae304e238c3c;hb=674cb2d9d7105f4cc2871539b2e9f7088cdaa750;hp=3345b3f06257e17a25bf416d72d3b6264c4bf588;hpb=da9ab0af53220f6f1cb0e4d31ce7de81dd591783;p=freeside.git 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';