From 21204f4dde80f26f6073bf68207857c360460021 Mon Sep 17 00:00:00 2001 From: WangXiaoPeng Date: Thu, 26 Mar 2015 06:21:26 -0400 Subject: [PATCH] fix the issue that POST - /networks does not work. and fix the ssl connection failure on ubuntu --- xCAT-server/xCAT-wsapi/xcatws.cgi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/xCAT-wsapi/xcatws.cgi b/xCAT-server/xCAT-wsapi/xcatws.cgi index 32f681834..70c512340 100755 --- a/xCAT-server/xCAT-wsapi/xcatws.cgi +++ b/xCAT-server/xCAT-wsapi/xcatws.cgi @@ -728,6 +728,7 @@ my %URIdef = ( example => "|Create the networks resources base on the network configuration on xCAT MN.|POST|/networks||", cmd => "makenetworks", fhandler => \&actionhdl, + outhdler => \&noout, }, }, network_allattr => { @@ -2674,6 +2675,7 @@ sub sendRequest { else { $client = IO::Socket::SSL->new( PeerAddr => $xcatHost, + SSL_verify_mode => 0, Timeout => 15,); } unless ($client) {