14.76. cdist-type__letsencrypt_cert(7)

14.76.1. NAME

cdist-type__letsencrypt_cert - Get an SSL certificate from Let's Encrypt

14.76.2. DESCRIPTION

Automatically obtain a Let's Encrypt SSL certificate. Uses certbot's webroot method. You must set up your web server to work with webroot.

14.76.3. REQUIRED PARAMETERS

webroot
The path to your webroot, as set up in your webserver config.
admin-email
Where to send Let's Encrypt emails like "certificate needs renewal".

14.76.4. OPTIONAL PARAMETERS

None.

14.76.5. OPTIONAL MULTIPLE PARAMETERS

renew-hook
Renew hook command directly passed to certbot in cron job.

14.76.6. EXAMPLES

__letsencrypt_cert example.com --admin-email root@example.com --webroot /data/letsencrypt/root

__letsencrypt_cert example.com --admin-email root@example.com --webroot /data/letsencrypt/root --renew-hook "service nginx reload"

14.76.7. AUTHORS

Kamila Součková <kamila--@--ksp.sk>

14.76.8. COPYING

Copyright (C) 2017 Nico Schottelius, Kamila Součková, Darko Poljak. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.