-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.test
More file actions
executable file
·36 lines (28 loc) · 930 Bytes
/
config.test
File metadata and controls
executable file
·36 lines (28 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#
# Copyright 2021 Brian Bennett
#
# Source defaults
source .dehydrated/docs/examples/config
source trace_logger.sh
source error_handler.sh
# make-cert base for SSL certs
SSLBASE=${PWD}/certs
# See .dehydrated/docs/example/config for descriptions of the following
# options.
CA="letsencrypt-test"
CHALLENGETYPE="http-01"
CERTDIR="$SSLBASE"
ACCOUNTDIR="${SSLBASE}/accounts"
ALPNCERTDIR="${SSLBASE}/alpn-certs"
WEBROOT="${PWD}/webroot/dehydrated"
WELLKNOWN="${WEBROOT}/.well-known/acme-challenge"
HOOK="${BASEDIR:-$PWD}/hook.sh"
KEY_ALGO=secp384r1
: $CA $CHALLENGETYPE $CERTDIR $ACCOUNTDIR $ALPNCERTDIR $WELLKNOWN "$HOOK" $KEY_ALGO
# Now source user-local config directives.
source config.local.example