summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--letsencrypt.sh/conf.d/secp384r1.sh2
-rw-r--r--letsencrypt.sh/conf.d/staging.sh2
-rwxr-xr-xletsencrypt.sh/cron.weekly/local-letsencrypt.sh7
3 files changed, 11 insertions, 0 deletions
diff --git a/letsencrypt.sh/conf.d/secp384r1.sh b/letsencrypt.sh/conf.d/secp384r1.sh
new file mode 100644
index 0000000..7969796
--- /dev/null
+++ b/letsencrypt.sh/conf.d/secp384r1.sh
@@ -0,0 +1,2 @@
+# Use NIST P-384 as public key algorithm
+KEY_ALGO=secp384r1
diff --git a/letsencrypt.sh/conf.d/staging.sh b/letsencrypt.sh/conf.d/staging.sh
new file mode 100644
index 0000000..a2e050d
--- /dev/null
+++ b/letsencrypt.sh/conf.d/staging.sh
@@ -0,0 +1,2 @@
+# Use stafing service
+CA="https://acme-staging.api.letsencrypt.org/directory"
diff --git a/letsencrypt.sh/cron.weekly/local-letsencrypt.sh b/letsencrypt.sh/cron.weekly/local-letsencrypt.sh
new file mode 100755
index 0000000..0c84001
--- /dev/null
+++ b/letsencrypt.sh/cron.weekly/local-letsencrypt.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Renew letsencrypt certificates
+
+set -e
+
+letsencrypt.sh --cron