janeczku / janeczku/haproxy-acme-validation-plugin

conflict with /etc/cron.d/certbot?

Open
#12 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
295
Forks
48
PR merge metrics
No merged PRs in 30d

Description

According to the installation instructions, I should add a cron job as follows:

sudo crontab -e
5 8 * * 6 /usr/bin/cert-renewal-haproxy.sh

The problem I see is /etc/cron.d/certbot (it is installed when installing certbot) renews the certs but will not regenerate the haproxy.pem files as required. If /etc/cron.d/certbot runs before cert-renewal-haproxy.sh, then the certs will already be renewed, and cert-renewal-haproxy.sh will fail to regenerate the haproxy.pem files.

I think that the install instructions should say that /etc/cron.d/certbot must be disabled if it has been installed.

Another minor issue is that "letsencrypt-auto" no loner exists, it should be renamed to "cerbot".

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the installation instructions, then compare their cron guidance with /etc/cron.d/certbot and cert-renewal-haproxy.sh. Check the current command name against the reference to letsencrypt-auto. Done means the instructions clearly resolve the renewal conflict and use the correct certbot command.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
devops, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.