Opened 5 years ago

Last modified 5 years ago

#59993 assigned enhancement

Plist for certbot?

Reported by: Haravikk Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: certbot

Description

I recently installed certbot to handle automatic creation/renewal of certificates for my local development web-server. The port works great, but one thing that seems missing is a default mechanism for handling renewal.

I would like to recommend that the certbot port be given a plist, as for daemons, but instead of running daemondo, will instead run /opt/local/bin/certbot renew once a week, to prevent a user's certificates from expiring. This command only renews certificates when they are within 30 days of expiring, so once a month is too slow, but once a week should be fine as it fits with the general recommendation to renew between 60 and 90 days after the 90-day certificate was issued.

This will allow users of certbot with auto-renew plugins (such as certbot-nginx) to very easily setup auto-renewal.

Change History (3)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Owner: set to mf2k
Status: newassigned

In the future, please add the port maintainer(s) to Cc (port info --maintainers certbot), if any.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Owner: changed from mf2k to Schamschula

comment:3 Changed 5 years ago by Schamschula (Marius Schamschula)

I'm open to adding this feature. Please open a PR on GitHub.

Note: See TracTickets for help on using tickets.