mirror of
https://github.com/saltstack-formulas/letsencrypt-sh-formula.git
synced 2024-11-27 23:07:49 +01:00
628e6bfef4
The default hook script can be used to reload the webserver when a new certificate has been installed.
25 lines
773 B
Plaintext
25 lines
773 B
Plaintext
letsencrypt-sh:
|
|
# Recommended parameters
|
|
# List of domains that need a TLS certificate
|
|
domains:
|
|
- example.com www.example.com
|
|
- example.net
|
|
# Parameters of configuration file
|
|
config:
|
|
# Email contact to register to letsencrypt.org
|
|
contact-email: admin@example.com
|
|
# Optional parameters
|
|
renew-days: 30
|
|
keysize: 4096
|
|
ca: https://acme-v01.api.letsencrypt.org/directory
|
|
openssl-cnf: /usr/lib/ssl/openssl.cnf
|
|
# see letsencrypt-sh/files/config.sh for more
|
|
# Override formula parameters
|
|
lookup:
|
|
pkg: letsencrypt.sh
|
|
pkg_apache: letsencrypt.sh-apache2
|
|
cron_command: cronic letsencrypt.sh --cron
|
|
# Service to reload after install of new cert
|
|
hook_service_to_reload: nginx
|
|
# see defaults.yaml for full list
|