projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 83204 - added link to service or tower causing error.
[freeside.git]
/
FS
/
FS
/
part_export
/
ispconfig3.pm
diff --git
a/FS/FS/part_export/ispconfig3.pm
b/FS/FS/part_export/ispconfig3.pm
index
3345b3f
..
9d22d19
100644
(file)
--- 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 Data::Dumper;
use SOAP::Lite;
+use IO::Socket::SSL;
=pod
=pod
@@
-299,7
+300,12
@@
sub api_login {
}
$self->{'__ispconfig_session'} = undef;
$self->{'__ispconfig_client'} =
}
$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';
|| undef;
unless ($self->{'__ispconfig_client'}) {
$self->{'__ispconfig_error'} = 'Error creating SOAP client';