[Bug 213163] [patch] security/acme-client: Support integrated renew/deploy script.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 2 21:15:40 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213163

            Bug ID: 213163
           Summary: [patch] security/acme-client: Support integrated
                    renew/deploy script.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd at freebsd.org
          Reporter: peterj at FreeBSD.org
             Flags: maintainer-feedback?(brnrd at freebsd.org)
          Assignee: brnrd at freebsd.org
          Keywords: patch

Created attachment 175373
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175373&action=edit
Support disabling deployment stage.

The acme-client periodic script supports separate renew and deploy scripts but
does not support an integrated renew/deploy script.  The latter makes sense
because acme-client provides a return code to indicate whether a certificate
was updated but this information is not available to a separate deploy script.

Whilst it's possible to include deploy actions in the renew script, the
periodic script always produces a "Deploying Let's Encrypt certificates"
message and complains if no deploy script is defined.  The latter can be
disabled by setting weekly_acme_client_deployscript to a dummy value (eg
/usr/bin/true) but the former is misleading if the deployment is part of the
renew script.

The attached patch supports setting weekly_acme_client_deployscript to "no" as
an indication that the deployment section should be skipped.

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


More information about the freebsd-ports-bugs mailing list