certupdater
Get the LetsEncrypt certificate files for a domain,
Will start a http and http listener for the domain given via the -domain
flag, and store the key and the certificates files in the -certDir
.
Certificates are valid for 3 months, they will be renewed 30 days before they expire.
Flags
-certDir string
specify the full path of where to store the key and certificate
-daemon
Set to true do run in daemon mode. The certificate will be automatically renewed 30 days before it expires, and the corresponding .key and .crt file will be updated .
-domain string
the domain name to create a certificate for