Skip to content

Instantly share code, notes, and snippets.

Bas Van Gaalen webtweakers

Block or report user

Report or block webtweakers

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@webtweakers
webtweakers / cert_renew.py
Last active Jun 19, 2018 — forked from squatto/certificate_renewal.py
Webfaction letsencrypt automatic certificate renewal and installation
View cert_renew.py
#!/usr/bin/env python3
# Python3 script to renew HTTPS certificates, using acme script and Webfaction's API.
# See: https://manikos.github.io/webfaction-letsencrypt-django (original version, plus docs)
# See: https://gist.github.com/squatto/69d81ab4790f21a94828041c9295e8da (updated version)
# See: https://github.com/Neilpang/acme.sh (acme script)
# Usage: ./cert_renew.py domain.tld cert_name
# Run this script as a cron job every day in order for the certs to be renewed when appropriate:
You can’t perform that action at this time.