> On 21 Dec 2023, at 17:04, John W. Himpel <j...@jlhimpel.net> wrote:
> 
> All,
> 
> I am a complete stranger to python.
> 
> I am attempting to automate the certificate renewal process for several
> certificates obtained from Letsencrypt via certbot.  My DNS is hosted
> at GoDaddy.com.
> 
> I found several projects on github that provide authenticators for
> GoDaddy that reportedly work with the "certbot renew --manual ..."
> command.
> 
> What I don't know is where in the filesystem I should put the .py files
> so that certbot will find them and I don't have to reinstall everytime
> there's a python version upgrade.
> 
> The instructions in the documentation for the add-on use a venv and
> pip.  Are those instructions compatible with fedora packages?

I have systemd timer and service doing the automatic renew dance.
I use the certs with apache httpd so that is restarted if the cert changes.

This has been run for a few years at this point.

$ systemctl cat letsencrypt-renew.timer
# /etc/systemd/system/letsencrypt-renew.timer
[Unit]
Description=Let's Encrypt renew timer

[Timer]
OnCalendar=05:00

$ systemctl cat letsencrypt-renew.service
# /etc/systemd/system/letsencrypt-renew.service
[Unit]
Description=Let's Encrypt Renewal

[Service]
ExecStart=/usr/bin/certbot renew --post-hook "/usr/bin/systemctl --no-block 
restart httpd"

Barry


> 
> Thanks.
> --
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to