From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Debugging an mcron job Date: Mon, 01 Apr 2019 22:05:48 +0200 Message-ID: <874l7hjxsz.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hB3Bn-0004Wi-Qo for help-guix@gnu.org; Mon, 01 Apr 2019 16:05:52 -0400 In-Reply-To: (Jack Hill's message of "Tue, 12 Mar 2019 17:26:30 -0400 (EDT)") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jack Hill Cc: help-guix@gnu.org Hello, Jack Hill skribis: > 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: > 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/a9674ec7b0decac947= 45c91df886817e2fc8a91b/guix-at-duke/services/endpoint-management.scm > > Is that a reasonable solution? I=E2=80=99m (very) late to the party but what you did looks like the right = thing to me. Ludo=E2=80=99. PS: Good to see you=E2=80=99re building interesting stuff with this!