docker_ssl_endpoint/NOTES
Joachim Lusiardi a57fa08340 First semiworking iteration
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.
2016-04-06 20:26:08 +02:00

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/*