15 lines
576 B
Plaintext
15 lines
576 B
Plaintext
|
|
# Nach start von haproxy ohne ssl:
|
|
/letsencrypt/letsencrypt-auto --config letencrypt.conf certonly -d lusiardi.de
|
|
DIR=`ls -td /data/config/live/*/ | head -1`
|
|
cat ${DIR}/fullchain.pem ${DIR}/privkey.pem > /data/haproxy/cert.pem
|
|
|
|
|
|
# Nach start von haproxy mit ssl:
|
|
/letsencrypt/letsencrypt-auto --config letencrypt.conf certonly --standalone-supported-challenges http-01 --http-01-port 54321 --expand -d lusiardi.de -d ps.lusiardi.de
|
|
DIR=`ls -td /data/config/live/*/ | head -1`
|
|
cat ${DIR}/fullchain.pem ${DIR}/privkey.pem > /data/haproxy/cert.pem
|
|
|
|
# aufräumen
|
|
rm -rf /data/*
|