aboutsummaryrefslogtreecommitdiff
path: root/acme.conf
blob: 99fb3c5ccd02ebb4165af2c9abdb10e5c52ff765 (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
# global settings
set geracetime 1 week

# provider definitions
provider lev1 https://acme-v01.api.letsencrypt.org/directory
provider les  https://acme-staging.api.letsencrypt.org/directory default

# account definitions
account another@example.com    key /etc/another.key default
account mailmaster@example.com key /etc/mailmaster.key

# hook definitions
hook nginx   "sudo service nginx reload"
hook dovecot "sudo service dovecot reload"

# desire definitions
desire { www.example.com, example.com, www2.example.com } from les \
	with another@example.com \
	key /etc/ssl/private/www_example_com.key \
	cert /etc/ssl/cert/www_example_com.pem \
	webroot /var/www/htdocs \
	hook nginx

# desire with prefix www imples altname without www
desire www.example.net from les \
	with another@example.com \
	key /etc/ssl/private/www_example_net.key \
	cert /etc/ssl/cert/www_example_net.pem

desire mail.example.com from les \
	with mailmaster@example.com \
	key /etc/ssl/private/mail_example_com.key \
	cert /etc/ssl/cert/mail_example_com.pem \
	hook dovecot