From 0204f1a7e607f07e877e0e92b51be9113a2aa66e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 28 Apr 2016 02:58:43 +0200 Subject: Initial letsencrypt.sh snippets. --- letsencrypt.sh/conf.d/secp384r1.sh | 2 ++ letsencrypt.sh/conf.d/staging.sh | 2 ++ letsencrypt.sh/cron.weekly/local-letsencrypt.sh | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 letsencrypt.sh/conf.d/secp384r1.sh create mode 100644 letsencrypt.sh/conf.d/staging.sh create mode 100755 letsencrypt.sh/cron.weekly/local-letsencrypt.sh 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 -- cgit v1.2.3