of course it is okay for that dir to already exist...
[lets-encrypt-tiny.git] / letsencrypt-tiny.conf.sample
index d2535e5ad9ff25a3cb608499cad627fbf9b48f5a..178eeadacf39fad7b9f2abd17e8a3e6e959e4b4b 100644 (file)
@@ -5,20 +5,27 @@ domains =
   example.org
   example.com
 
-# File containing the DH parameters, as generated by openssl (optional)
-dh-params = /etc/ssl/dh2048.pem
+# The length of secret RSA keys
+key-length = 4096
+
+[timing]
+# After how many days should the private key be re-generated?
+max-key-age-days = 180
+# How many hours should a new private key be left in staging? Remove or set to 0 to enable immediate activation.
+staging-hours = 25
+# How many days before a certificate expires, should it be renewed?
+renew-cert-before-expiry-days = 15
 
 [hooks]
 # Called after a new certificate has been obtained.
-# Example usage: Reloading services.
-post-cert = /home/user/letsencrypt/cert-hook
+# Example usage: Reloading services, generating combined "certificate + key chain" file.
+post-certchange = /home/user/letsencrypt/cert-hook
 # Called after a new certificate has been obtained, *if* there also were changes in the private keys
 # Example usage: Updating TLSA records (with the selector being SubjectPublicKeyInfo) in the zone
-post-key = /home/user/letsencrypt/key-hook
+post-keychange = /home/user/letsencrypt/key-hook
 
-# Parameters for acme-tiny <https://github.com/diafygi/acme-tiny/>
+# Parameters for the embedded acme-tiny <https://github.com/diafygi/acme-tiny/>
 [acme]
-acme-tiny = /home/user/letsencrypt/acme-tiny/
 account-key = /etc/ssl/private/letsencrypt/account.key
 challenge-dir = /srv/acme-challenge/
 
@@ -26,11 +33,10 @@ challenge-dir = /srv/acme-challenge/
 [dirs]
 certs = /etc/ssl/mycerts/letsencrypt
 keys = /etc/ssl/private/letsencrypt
-csrs = /etc/ssl/private/letsencrypt
 backups = /etc/ssl/old/letsencrypt
 
 [files]
-# Base name of the live key and certificate
+# Base name of the live key and certificate.
 live = live
-# Base name of the staging key and certificate (optional)
+# Base name of the staging key and certificate. Used during generation of a new key, to avoid trouble if something fails there.
 staging = staging