From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 07 11:30:13 2020 Received: (at submit) by debbugs.gnu.org; 7 Apr 2020 15:30:13 +0000 Received: from localhost ([127.0.0.1]:50705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLqB2-00036M-Uv for submit@debbugs.gnu.org; Tue, 07 Apr 2020 11:30:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:42356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLqB1-000368-6m for submit@debbugs.gnu.org; Tue, 07 Apr 2020 11:30:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40182) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLqAz-0005vx-V1 for bug-guile@gnu.org; Tue, 07 Apr 2020 11:30:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLqAy-0005JN-CS for bug-guile@gnu.org; Tue, 07 Apr 2020 11:30:09 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:38476 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLqAy-0005IX-38 for bug-guile@gnu.org; Tue, 07 Apr 2020 11:30:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586273406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o67o0Mxm/hFTGV+PliTwYUv2Z/zIYMtKoviISoPF1y8=; b=RG52vSBcDTcd/Tav+S7g5HJyvGymqHfZGx8D4G4RNMV7wxswa6hiQ47A2XAhQmI8eu8oND 3k5PEkttKtgFC4560SMlOuAruqAYL2kkcXgFVi+YAVOW5e5Em4wW52I39zc9u7wztmgKkm xl9iiJKA14CGwF7sVBYopwffVqFa3FE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-314-C2cKSLe5Oz-5ssAaq1Yr-Q-1; Tue, 07 Apr 2020 11:30:03 -0400 X-MC-Unique: C2cKSLe5Oz-5ssAaq1Yr-Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 81D6418C43C0 for ; Tue, 7 Apr 2020 15:30:02 +0000 (UTC) Received: from jsynacek-ntb.brq.redhat.com (unknown [10.40.194.167]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C44C65DA7B for ; Tue, 7 Apr 2020 15:30:01 +0000 (UTC) From: Jan Synacek To: bug-guile@gnu.org Subject: http-get doesn't respect #:verify-certificate? Date: Tue, 07 Apr 2020 17:29:54 +0200 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.61 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) When I run the following piece of code: (use-modules (web client)) (http-get "https://bugzilla.redhat.com/rest/bug/1" #:verify-certificate? #f= ) I get: ... In web/client.scm: 563:0 1 (http-get "https://bugzilla.redhat.com/rest/bug/1" # _ # =E2= =80=A6) 231:6 0 (tls-wrap # _ # _) web/client.scm:231:6: In procedure tls-wrap: X.509 certificate of 'bugzilla.redhat.com' could not be verified: signer-not-found invalid If I use http-request instead of http-get, the keyword argument is correctly taken into account and the certificate is not verified. I use v3.0.2. From debbugs-submit-bounces@debbugs.gnu.org Wed May 27 17:30:00 2020 Received: (at 40486-done) by debbugs.gnu.org; 27 May 2020 21:30:00 +0000 Received: from localhost ([127.0.0.1]:50163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3cd-0005ya-UA for submit@debbugs.gnu.org; Wed, 27 May 2020 17:30:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3cc-0005yI-Vh for 40486-done@debbugs.gnu.org; Wed, 27 May 2020 17:29:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46135) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je3cX-0007Ui-Nd; Wed, 27 May 2020 17:29:53 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37172 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1je3cW-00030x-Nc; Wed, 27 May 2020 17:29:53 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jan Synacek Subject: Re: bug#40486: http-get doesn't respect #:verify-certificate? References: Date: Wed, 27 May 2020 23:29:49 +0200 In-Reply-To: (Jan Synacek's message of "Tue, 07 Apr 2020 17:29:54 +0200") Message-ID: <87zh9tgj76.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40486-done Cc: 40486-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Jan Synacek skribis: > When I run the following piece of code: > > (use-modules (web client)) > (http-get "https://bugzilla.redhat.com/rest/bug/1" #:verify-certificate? = #f) > > I get: > ... > In web/client.scm: > 563:0 1 (http-get "https://bugzilla.redhat.com/rest/bug/1" # _ # =E2= =80=A6) > 231:6 0 (tls-wrap # _ # _) > > web/client.scm:231:6: In procedure tls-wrap: > X.509 certificate of 'bugzilla.redhat.com' could not be verified: > signer-not-found invalid > > If I use http-request instead of http-get, the keyword argument is > correctly taken into account and the certificate is not verified. > > I use v3.0.2. Fixed in a5421d2bb6e27fe77e794f950833ca6d84c8c523, thanks! Ludo=E2=80=99. From unknown Mon Aug 11 12:54:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 25 Jun 2020 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator