Topic: Patch: apparmor profile for enabling Let's Encrypt certs
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Ubuntu 14.04.5 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
To be able to install Let's Encrypt certificates with openldap, I suggest the following patch to the offical config:
In file /etc/apparmor.d/usr.sbin.slapd replace:
#include <abstractions/ssl_certs>
/etc/ssl/private/ r,
/etc/ssl/private/* r,
with
#include <abstractions/ssl_keys>
And in file /etc/apparmor.d/abstractions/ssl_keys add row:
/etc/letsencrypt/** r,
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.