Hacker News new | comments | ask | show | jobs | submit login

In case anyone is looking for an actual cronjob example. This works wonderfully:

  #!/bin/bash
  cd /srv/cert/domain.xyz
  simp_le -d domain.xyz:/srv/www/domain.xyz/html \
     -f key.pem -f cert.pem -f fullchain.pem \
     && service apache2 reload
And in the crontab:

  43 1 * * * /srv/bin/cert-renew || true
EDIT: This is using the simp_le client (https://github.com/kuba/simp_le), not the official client. But this one is wayy easier to use.

EDIT 2: Guide here: https://blog.philippheckel.com/2015/12/04/lets-encrypt-5-min...




It should be noted that this isn't using LetsEncrypt's client.


Yes, correct. This is using the simp_le client (as mentioned in https://news.ycombinator.com/item?id=10672006). The client is easier to use and developed by the same author as the official client. Works wonderfully.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: