From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#40262: R: server certificate verification failed. Date: Fri, 27 Mar 2020 23:39:25 +0100 Message-ID: <87a741xw0y.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52815) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHxdz-0001yA-BF for bug-guix@gnu.org; Fri, 27 Mar 2020 18:40:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHxdy-0006d4-BO for bug-guix@gnu.org; Fri, 27 Mar 2020 18:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHxdy-0006cj-3s for bug-guix@gnu.org; Fri, 27 Mar 2020 18:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHxdy-0004JU-14 for bug-guix@gnu.org; Fri, 27 Mar 2020 18:40:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Jonathan Brielmaier Cc: 40262-done@debbugs.gnu.org Jonathan Brielmaier writes: > Error in open.connection(con, "rb") : > server certificate verification failed. CAfile: none CRLfile: none This is due to a change in r-curl. We patched it to respect the CURL_CA_BUNDLE environment variable, not just when it=E2=80=99s used on Win= dows. The code has changed since we developed the patch. Now the CURLOPT_CAINFO option is only set (in curl/src/handle.c:set_handle_defaults) when _WIN32 is defined and when tlsinfo->backend =3D=3D CURLSSLBACKEND_OPENSSL. Neither of these cases apply for Guix. I=E2=80=99ve adjusted the patch in r-curl. Thank you for the report! -- Ricardo