certbot / certbot/website

Add steps to enable weekly renewal on FreeBSD

Open
#784 4 comments 0 reactions 2 assignees Claimed by @zoracon View on GitHub
Dominant language
No language data
Stars
71
Forks
187
Avg merge
1h 45m
Merged PRs (30d)
1

Description

Hello!

Weekly renewal isn't working on FreeBSD 13.1.

The `/usr/local/etc/periodic/weekly500.certbot-3.9` cronjob immediately exits and will not run unless some values are added to `/etc/periodic.conf`.

I believe the fix is to add a step to the documentation on these pages:

- https://certbot.eff.org/instructions?ws=apache&os=freebsd
- https://certbot.eff.org/instructions?ws=nginx&os=freebsd

- - -

## Enable automatic renewal

Add these lines to `/etc/periodic.conf`:

```
# Let's Encrypt: Weekly renewal
weekly_certbot_enable="YES"
weekly_certbot_service="apache"
weekly_certbot_post_hook="service apache24 restart"
# weekly_certbot_deploy_hook="/tmp/a.sh"
# weekly_certbot_custom_args="--force-renewal"
```

- - -

For the Nginx version of the docs, swap out these two lines in the above block:

```
weekly_certbot_service="nginx"
weekly_certbot_post_hook="service nginx restart"
```

- - -

Also, the docs have a line that could use an edit. FreeBSD doesn't have `systemd`.

> The Certbot packages on your system come with a cron job ~~or systemd timer~~ that will renew your certificates automatically before they expire.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.