[Bug 275064] security/py-certbot: Will not run from cron

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Nov 2023 21:12:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275064

            Bug ID: 275064
           Summary: security/py-certbot: Will not run from cron
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: gerard_seibert@outlook.com
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Created attachment 246278
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246278&action=edit
Certbot output when run from CRON

uname: FreeBSD 13.2-RELEASE-p4 GENERIC amd64
freebsd-version: 13.2-RELEASE-p5

It works perfectly when I run the following command from the command line.

/usr/local/bin/certbot renew --apache --deploy-hook "service dovecot restart"

If I run it from CRON, it bombs out. I have attached the file.

I tried setting CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1, but it did not make any
difference. Everything was working fine until a recent update. Why does it work
from the command line but not from CRON?

-- 
You are receiving this mail because:
You are the assignee for the bug.