Skip to content

connctd/certbuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

certbuddy

certbuddy is a small utility to ensure that your certificate issued by letsencrypt (or another automated CA) stays up to date. This utility is implemented as a small daemon running in the background. On startup certbuddy creates an account for you if necessary and generates privates keys etc. It then requests a certificate and checks in regular intervals if this certificate is still valid. If it is about to expire certbuddy tries to renew your certificate.

Ideally certbuddy can be used in Docker container to update a certificate used for your servers providing TLS termination.

Usage

certbuddy has several command line switches, but only some are necessary

Command line switches

Name Description Required Default
email Email address of the user account for letsencrypt Yes None
domains Comma separated list of domains to be included in the certificate Yes None
keyPath Path to the directory the private key used for the TLS certificate will be stored Yes None
certPath Path to the directory the TLS certificate issued by letsencrypt will be stored Yes None
validBefore Number of days before the expiration date when certificate will be renewed No 30
webroot Folder to write the proof to. Needs to be accessible by a webserver Yes None
accountKeyPath Path to the private key for the letsencrypt account Yes None
rsaLength Length of the RSA key No 4096
background Keep running in the background No False

About

Simple helper to handle your letsencrypt certificates

Resources

Stars

Watchers

Forks

Packages

No packages published