Joachim Lusiardi
a57fa08340
Container can be started with empty data directory. After using docker exec the commands from the NOTES file can be used to create a first cert and additional certs after that.
13 lines
580 B
Plaintext
13 lines
580 B
Plaintext
|
|
# Nach start von haproxy ohne ssl:
|
|
/letsencrypt/letsencrypt-auto --config letencrypt.conf certonly -d lusiardi.de
|
|
cat /data/config/live/lusiardi.de/fullchain.pem /data/config/live/lusiardi.de/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
|
|
cat /data/config/live/lusiardi.de/fullchain.pem /data/config/live/lusiardi.de/privkey.pem > /data/haproxy/cert.pem
|
|
|
|
# aufräumen
|
|
rm -rf /data/*
|