1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-06-18 12:32:34 +02:00
acertmgr/README.md

42 lines
825 B
Markdown
Raw Normal View History

2016-01-10 15:20:59 +01:00
ACERTMGR
========
This is an automated certificate manager using ACME/letsencrypt.
Running ACERTMGR
----------------
The main file acertmgr.py is intended to be run regularly (e.g. as daily cron job) as root.
Configuration
-------------
The main configuration is read from `/etc/acme/acme.conf`, domains for which certificates should be obtained/renewed should be configured in `/etc/acme/domains.d/{fqdn}.conf`.
All configuration files use yaml syntax.
* Example global configuration file:
2016-01-10 15:27:08 +01:00
```yaml
---
2016-01-10 15:20:59 +01:00
2016-01-10 15:27:08 +01:00
mode: webdir
#mode: standalone
2016-01-10 15:27:08 +01:00
webdir: /var/www/challenges/
```
2016-01-10 15:20:59 +01:00
* Example domain configuration file:
2016-01-10 15:27:08 +01:00
```yaml
---
mail.example.com:
- user: postfix
group: postfix
perm: '400'
notify: '/etc/init.d/postfix reload'
2016-01-10 15:27:08 +01:00
- user: dovecot
group: dovecot
perm: '400'
notify: '/etc/init.d/dovecot reload'
2016-01-10 15:27:08 +01:00
```