2022-07-04 13:08:32 -04:00
2022-07-02 14:25:21 -04:00
2022-07-03 13:21:04 -04:00

ssl-update

automation for cert renewal with local hooks

given a service:

* start letsencrypt's certbot "manually", getting ownership proof data
* write proof into nginx's serving path
* log into the firewall, allow http for the given service
* enable http for the given service
* instruct let's encrypt to check the proof
* get new keys
* disable http for the service
* log into firewall, block http for the given service
* set permissions and ownership on new keys
* perform service specific hooks
	* jellyfin: generating a pkcs12 key

All secrets are GPG encrypted and one password prompt allows for script access to all secrets necessary.

State:

* Only jellyfin is tested and working
* Can only really test when keys come closer to expiring
* code is ugly, could be a nice class or something
Description
No description provided
Readme MIT 134 KiB
Languages
Python 85.1%
Shell 14.9%