Skip to content

Automatic deployment of let's encrypt certificates via certbot's deploy-hook

License

Notifications You must be signed in to change notification settings

mnowiasz/deploycert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deploycert

Automatic deployment of let's encrypt certificates via certbot's deploy-hook

This is basically a toy project of me to get to know python - it's quite over-engineered, using classes to model init services and so on. A equivalent bash script might be smaller, although it might lack the error handling/logging functionality.

Despite being a test project of mine, it is useful - you can map certificate's domains to services. For example, "myhost.mydomain.tld" might be used for postfix, dovecot and apache2, "www.mydomain.tld" only by apache2 (a typical vhost). If your certificate contains both myhost.mydomain.tld, the program will make sure that apache2 will be reloaded only once (instead of two times, one for myhost and the second one for www)

I've included an example script (deploy.py)

About

Automatic deployment of let's encrypt certificates via certbot's deploy-hook

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages