From: "Ludovic Courtès" <ludo@gnu.org>
To: Jan Synacek <jsynacek@redhat.com>
Cc: 40486-done@debbugs.gnu.org
Subject: bug#40486: http-get doesn't respect #:verify-certificate?
Date: Wed, 27 May 2020 23:29:49 +0200 [thread overview]
Message-ID: <87zh9tgj76.fsf@gnu.org> (raw)
In-Reply-To: <m6fsghfgvpp.fsf@jsynacek-ntb.brq.redhat.com> (Jan Synacek's message of "Tue, 07 Apr 2020 17:29:54 +0200")
Hi,
Jan Synacek <jsynacek@redhat.com> 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" # _ # …)
> 231:6 0 (tls-wrap #<closed: file 1db4540> _ # _)
>
> 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’.
prev parent reply other threads:[~2020-05-27 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 15:29 bug#40486: http-get doesn't respect #:verify-certificate? Jan Synacek
2020-05-27 21:29 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zh9tgj76.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=40486-done@debbugs.gnu.org \
--cc=jsynacek@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).