From 72d9f66e5141842479a9e8e588be1c6e3ea9b53f Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 24 May 2013 14:53:40 +0200 Subject: [PATCH] nexenta: disable ssl_opt verify_hostname Else we are unable to connect to the server when using ssl. --- PVE/Storage/NexentaPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm index 4c0e14a..3422b02 100644 --- a/PVE/Storage/NexentaPlugin.pm +++ b/PVE/Storage/NexentaPlugin.pm @@ -28,7 +28,7 @@ sub nexenta_request { my $token = encode_base64("$scfg->{login}:$scfg->{password}"); $req->header(Authorization => "Basic $token"); - my $ua = LWP::UserAgent->new; # You might want some options here + my $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0 }); my $res = $ua->request($req); die $res->content if !$res->is_success;