Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

The certifications are do not renew automatic. #76

Open
mikaeakerlund opened this issue Aug 6, 2018 · 1 comment
Open

The certifications are do not renew automatic. #76

mikaeakerlund opened this issue Aug 6, 2018 · 1 comment

Comments

@mikaeakerlund
Copy link

I have two servers with same problem. Im using the cronjob as in the description. But every third month i need to restart the server to get the certification to renew. Anyone else with this problem that can help me found a solution?

@codethirteen
Copy link

I've been having the same issue for a few weeks on two seperate servers running Ubuntu 16.04 as well. The script runs nightly but returns a not-needed message:

The following certs are not due for renewal yet:
  /etc/letsencrypt/live/example.com/fullchain.pem (skipped)
No renewals were attempted.

The quick and dirty fix is to add --force to the renew command. So in crontab you'll have something like:

For Ubuntu 16.04 and 18.04

0 */12 * * * letsencrypt renew --force && service nginx-sp reload

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants