Revize f720e47f
Přidáno uživatelem Tomáš Ballák před asi 4 roky(ů)
scripts/renew_certificate.sh | ||
---|---|---|
5 | 5 |
|
6 | 6 |
if [ "$1" = "new" ]; then |
7 | 7 |
docker-compose exec nginx /bin/sh -c " |
8 |
cd /etc/letsencrypt && mkdir heatmap.zcu.cz && cd heatmap.zcu.cz; \
|
|
8 |
cd /root/.acme.sh/heatmap.zcu.cz/ \
|
|
9 | 9 |
openssl dhparam -dsaparam -out dhparams.pem 4096; \ |
10 |
bash /root/.acme.sh/acme.sh --issue --nginx -d heatmap.zcu.cz -k 4096 --debug; \
|
|
10 |
bash /root/.acme.sh/acme.sh --issue -w /var/www/symfony/public -d heatmap.zcu.cz -k 4096 --debug 2; \
|
|
11 | 11 |
bash /root/.acme.sh/acme.sh --installcert -d heatmap.zcu.cz \ |
12 | 12 |
--key-file /root/.acme.sh/heatmap.zcu.cz/heatmap.zcu.cz.key \ |
13 | 13 |
--fullchain-file /root/.acme.sh/heatmap.zcu.cz/fullchain.cer \ |
Také k dispozici: Unified diff
another hotifx: having fun with cert