blob: 9ea17221ba09e16c72299daba322a215b8668ffc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Before first run you need to configure http server so that directory "/run/acme-challenge" was the alias of "/.well-known/acme-challenge"
# Nginx example:
# location /.well-known/acme-challenge {
# alias /run/acme-challenge;
# }
#
# Manual run:
# systemctl start acme@example
#
# Show status:
# journalctl -e -u acme@example
#
# If no errors, then certificate and key will be placed in the directory /var/lib/acme/certs/example
#
# Enable daily timer check and renew certs:
# systemctl enable --now letsencrypt@example.timer
# List domain names included in certificate separated by space. All domains should work and refer to this server.
ACME_DOMAINS="example.com www.example.com"
# Directory for acme accounts and certificates
#ACME_DIR="/var/lib/acme"
#ACME_ACCOUNT="letsencrypt"
#ACME_ARGS="-vbnN"
# See also:
# man 1 acme-client
|