blob: 0cadea5160748cf858b5b3238936abc679e38c10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Multiple webservers (each binding to a different address)
sed -ri 's|^#?listen\s*=.*|listen = [::]:80 127.0.0.1:8080|' /etc/lacme/lacme.conf
lacme --debug newOrder 2>"$STDERR" || fail newOrder
test /etc/lacme/simpletest.rsa.crt -nt /etc/lacme/simpletest.rsa.key
grepstderr -Fq "Forking ACME webserver bound to [::]:80, child PID "
grepstderr -Fq "Forking ACME webserver bound to 127.0.0.1:8080, child PID "
grepstderr -Fq "Forking lacme-accountd, child PID "
grepstderr -Fq "Forking /usr/libexec/lacme/client, child PID "
grepstderr -Fq "Shutting down lacme-accountd"
grepstderr -Fq "Shutting down ACME webserver bound to [::]:80"
grepstderr -Fq "Shutting down ACME webserver bound to 127.0.0.1:8080"
grepstderr -Eq "Incoming connection( from \S+)?: GET /\.well-known/acme-challenge/\S+ HTTP/[0-9.]+$"
# vim: set filetype=sh :
|