Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSlLM-00081o-WD for buildfarm-members@arkaria.postgresql.org; Sun, 15 Jan 2017 13:59:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cSlLL-0005xQ-Qz for buildfarm-members@arkaria.postgresql.org; Sun, 15 Jan 2017 13:59:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cSlLL-0005xE-FH for buildfarm-members@postgresql.org; Sun, 15 Jan 2017 13:59:35 +0000 Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cSlLI-0003p9-HJ for buildfarm-members@postgresql.org; Sun, 15 Jan 2017 13:59:34 +0000 Received: by mail-qk0-x22f.google.com with SMTP id u25so96692232qki.2 for ; Sun, 15 Jan 2017 05:59:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=t1o+7QR4mOghe52Cnk5OCdQIYwbnDPfwdz9lyD5TLmk=; b=G1APc6J6wTaKGzKytpek2QZF05H79VfbZfn4lN2SmhjO168cp7L3/Z8MPwZgiT+u+3 5oikdHkIZicrQ3t3+jWtg7cFCfc0APL2LblOZxplZv0DymCdo6ShbnuLzRLHCu7sxVje 98emhVkoGox5DZBXT9AL5+DdiNrvcSosSqaWWlwK/xn6bHmkzbH2sBMynBSQ5h9WggEa IdcppjsOfoeTX/EwDfNYkiTvJP8v2McjooMjaEc7/dvsVgesrbMNFpLR7T2/KxtJMYs7 gvu5JvbteplceID6jkuBjIAEblHNsjoZ30Ei2KwzgM63vb20w3Ys7nJEsgZv0KmfvGu1 DfVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=t1o+7QR4mOghe52Cnk5OCdQIYwbnDPfwdz9lyD5TLmk=; b=U02/eUqFmLhG3cnx2LkkKobO0UnlL8STLQjhutJnEsWZFtNPb04WB1jwUW6im9jwou XYT3Pezj2gCxDYfk9xJssJMbib1JeBOxb7r4QHoJOwIXEJpLrGIYSwmi+Ic7CL5GIMbi cqwAXjh6GZ/GtNV0qG7kj0iF4tSrHO1KR703LvUsP/CrzO6fTwWCVCxKUf6wR58RezMw l7NwsHRlNKa6GZA7d6nDtEInYSRvwHKQeu7pOFeUuEwD4SQhkoGCK7mD0jeY8jfc32Aj Cwss7w86AETU/EwYVzCHXUEPq/R52P8jAOuf8ZiBEtaAr0ODjBTb3opFQ69tdA0DWNXH jz6g== X-Gm-Message-State: AIkVDXKJ0Ta7ZhNMvAJgu3i2lXwQwWB3Ctbgqd1qf2gN0tmbAdBpiV/wyKPCfViUCk6eA3nK X-Received: by 10.55.189.70 with SMTP id n67mr18771749qkf.204.1484488770613; Sun, 15 Jan 2017 05:59:30 -0800 (PST) Received: from [192.168.10.146] ([98.122.164.227]) by smtp.gmail.com with ESMTPSA id k95sm13767683qte.42.2017.01.15.05.59.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jan 2017 05:59:29 -0800 (PST) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: Moving to HTTPS To: Tom Lane References: <89d566b4-58fb-c1e9-97ef-46d4d915b86c@dunslane.net> <20170107215523.GA294152@tornado.leadboat.com> <96080bc2-086f-c47f-6cee-b7f00a9bcd38@2ndQuadrant.com> <3104.1483834327@sss.pgh.pa.us> <7217.1484469582@sss.pgh.pa.us> Cc: buildfarm-members@postgresql.org, buildfarm-admins@postgresql.org Message-ID: <9535692b-fe3d-18fc-0080-68914f1bf7f1@2ndQuadrant.com> Date: Sun, 15 Jan 2017 08:59:28 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <7217.1484469582@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: buildfarm-members Precedence: bulk Sender: buildfarm-members-owner@postgresql.org On 01/15/2017 03:39 AM, Tom Lane wrote: > Andrew Dunstan writes: >> On 01/07/2017 07:12 PM, Tom Lane wrote: >>> Andrew Dunstan writes: >>>> Yeah, you're right. Or perhaps even more simply we could do: >>>> perl -MLWP::Simple -e 'print qq{BAD\n} unless head(q{https://www.postgresql.org});' >>> Hmm, so that reports BAD on all four of my buildfarm critters :-(. >> Ugh. I was afraid of something like that. We might need to look at >> providing a proxy or something. > After further fooling with this, it seems the root cause is that you > need Perl (specifically Net::SSLeay) to be linked to OpenSSL 0.9.8 > or later. Since we require at least 0.9.8 for PG itself, this does > not seem like an unreasonably heavy lift. > > I found that some of the involved modules, particularly IO::Socket::SSL > and LWP::Protocol::https, fail a few of their regression tests even > with 0.9.8. But if you tell cpan to ignore that and install them > anyway, it seems like things work; at least, the simple test proposed > above now works on all four of my buildfarm critters. It will be > interesting to see whether that equates to "buildfarm script can talk > to https server". Do we have any more-thorough test case available? The test should be thorough enough. If you want to try it for real and you're using the same that you built against, just change the URLs in your config file, i.e.: sed -i -e s,http://www.pgbuildfarm.org/,https://buildfarm.postgresql.org/, your-config-file cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via buildfarm-members mailing list (buildfarm-members@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/buildfarm-members