blob: 6e63fb411d8be0ef0018c6a7ed7b77a8bc90008b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#
# Use 'acme.sh' to issue certificates.
#
# Aaron LI
# 2019-09-21
#
{% for domain in domains %}
acme.sh --issue --log /var/log/acme.sh.log \
--config-home {{ web.acme_home }}/.acme.sh \
--domain {{ domain.name }} \
{% for sub in domain.sub %}--domain {{ sub }}.{{ domain.name }} {% endfor %} \
--webroot {{ web.acme_webroot }} ||
echo "WARNING: exit with non-zero code: $?"
{% endfor %}
acme.sh --list
|