unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Hank Donnay <hdonnay@gmail.com>
Cc: 25240@debbugs.gnu.org
Subject: bug#25240: weechat-1.6: curl error 60
Date: Wed, 25 Jan 2017 12:10:01 +0100	[thread overview]
Message-ID: <87o9yv1jli.fsf@gnu.org> (raw)
In-Reply-To: <CAD4UWki6-7LWxP7tZruwi_ub6rew7uN0kss39-tUJrKyfsasSg@mail.gmail.com> (Hank Donnay's message of "Tue, 20 Dec 2016 17:08:32 -0500")

Hello,

Hank Donnay <hdonnay@gmail.com> skribis:

> Weechat seems to be unable to do HTTPS, and fails with "curl error 60".
> Setting SSL_CERT_{DIR,FILE} doesn't make a difference. The actual error is:
>
>     script: error downloading list of scripts: curl error 60 (server
> certificate verification failed. CAfile: none CRLfile: none) (URL: "
> https://weechat.org/files/plugins.xml.gz")
>
> I have nss-certs installed, and the files pointed to
> ($GUIX_PROFILE/etc/ssl/certs and
> $GUIX_PROFILE/etc/ssl/certs/ca-certificates.crt) both exist.
>
> Any pointers on where to look to fix this would be appreciated.

Weechat uses libcurl, which uses GnuTLS and does not honor
‘SSL_CERT_DIR’, ‘SSL_CERT_FILE’, and ‘CURL_CA_BUNDLE’.

Instead, GnuTLS defaults to looking for certificates in /etc/ssl/certs,
and it is up to the application to search for certificates in additional
places.

This has been discussed at
<https://lists.gnu.org/archive/html/guix-devel/2017-01/msg00516.html>
but there’s no good solution yet.

Thanks,
Ludo’.

  reply	other threads:[~2017-01-25 11:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-20 22:08 bug#25240: weechat-1.6: curl error 60 Hank Donnay
2017-01-25 11:10 ` Ludovic Courtès [this message]
2020-02-07 19:10 ` bug#25240: Fixed on core-updates Jakub Kądziołka

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://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9yv1jli.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=25240@debbugs.gnu.org \
    --cc=hdonnay@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).