aboutsummaryrefslogtreecommitdiff
path: root/acme.toml
blob: 5476217d9b2b2df9b3f9c05b82cfdab8fbdd1a58 (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
30
31
32
33
34
35
36
[provider.lev1]
directory = "https://acme-v01.api.letsencrypt.org/directory"

[provider.les]
directory = "https://acme-staging.api.letsencrypt.org/directory"

[account.example]
mail = "another@example.com"
key = "/etc/acme.key"
provider = "les"

[hook.nginx]
cmd = "sudo service nginx reload"

[hook.dovecot]
cmd = "sudo service dovecot reload"

[hook.smtpd]
cmd = "sudo service smtpd reload"

[[desire]]
altnames = [ "www.example.com", "example.com" ]
key = "/etc/ssl/private/www_example_com.key"
cert = "/etc/ssl/certs/www_example_com.pem"
webroot = "/var/www/htdocs"
account = "example"
gracetime = "1 week"
hook = [ "nginx" ]

[[desire]]
altnames = [ "mail.example.com" ]
key = "/etc/ssl/private/mail_example_com.key"
cert = "/etc/ssl/certs/mail_example_com.pem"
account = "example"
gracetime = "1 week"
hook = [ "dovecot", "smtpd" ]