From: Jack Hill <jackhill@jackhill.us>
To: help-guix@gnu.org
Subject: Re: Debugging an mcron job
Date: Tue, 12 Mar 2019 17:26:30 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.2.20.1903121725380.16784@marsh.hcoop.net> (raw)
In-Reply-To: <alpine.DEB.2.20.1903121629540.16784@marsh.hcoop.net>
On Tue, 12 Mar 2019, Jack Hill wrote:
> I've figured out what was going wrong with my job (by redirecting the output
> to a file). It couldn't verify the remote host's certificate:
>
> urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate
> verify failed (_ssl.c:726)>
>
> Now to figure out why. I have nss-certs in my system packages.
I've solved this for my service by adding SSL_CERT_DIR to the environment:
https://gitlab.oit.duke.edu/jackhill/guix-at-duke/blob/a9674ec7b0decac94745c91df886817e2fc8a91b/guix-at-duke/services/endpoint-management.scm
Is that a reasonable solution?
Best,
Jack
next prev parent reply other threads:[~2019-03-12 21:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 20:05 Debugging an mcron job Jack Hill
2019-03-12 19:24 ` Jack Hill
2019-03-12 20:33 ` Jack Hill
2019-03-12 21:26 ` Jack Hill [this message]
2019-04-01 20:05 ` Ludovic Courtès
2019-04-01 20:05 ` Ludovic Courtès
2019-04-01 20:52 ` Jack Hill
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1903121725380.16784@marsh.hcoop.net \
--to=jackhill@jackhill.us \
--cc=help-guix@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.