help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging an mcron job


From: Jack Hill
Subject: Re: Debugging an mcron job
Date: Tue, 12 Mar 2019 17:26:30 -0400 (EDT)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]