diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-03-22 16:07:31 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-03-22 16:07:31 -0700 |
commit | fbfed2a457704aaff64a12a40eef04aade869548 (patch) | |
tree | 89e7b476271791eac6e64da1e979c81cde976157 /FS/FS/Template_Mixin.pm | |
parent | 801466230917cc64c943f628d76d2ada32f15474 (diff) |
fix connection errors to print service under deb 8 ? RT#75293
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
-rw-r--r-- | FS/FS/Template_Mixin.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 3e027d3..bde7a9c 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2431,6 +2431,7 @@ sub postal_mail_fsinc { 'ssl_opts' => { verify_hostname => 0, SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE, + SSL_version => 'SSLv3', } ); my $response = $ua->request( POST $url, [ @@ -2461,7 +2462,8 @@ sub postal_mail_fsinc { 'country' => $bill_location->country, ]); - die "Print connection error: ". $response->message. "\n" + die "Print connection error: ". $response->message. + ' ('. $response->as_string. ")\n" unless $response->is_success; local $@; |