2016-04-06 20:26:08 +02:00
|
|
|
|
|
|
|
# Nach start von haproxy ohne ssl:
|
|
|
|
/letsencrypt/letsencrypt-auto --config letencrypt.conf certonly -d lusiardi.de
|
2016-04-07 08:03:13 +02:00
|
|
|
DIR=`ls -td /data/config/live/*/ | head -1`
|
|
|
|
cat ${DIR}/fullchain.pem ${DIR}/privkey.pem > /data/haproxy/cert.pem
|
2016-04-06 20:26:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
# 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
|
2016-04-07 08:03:13 +02:00
|
|
|
DIR=`ls -td /data/config/live/*/ | head -1`
|
|
|
|
cat ${DIR}/fullchain.pem ${DIR}/privkey.pem > /data/haproxy/cert.pem
|
2016-04-06 20:26:08 +02:00
|
|
|
|
|
|
|
# aufräumen
|
|
|
|
rm -rf /data/*
|