We have Mailcleaner running on a virtual machine, and relaying emails to our mail server.
We used to buy wildcard certificates for our domains, and were using it to enable SSL in Mailcleaner too. We are now moving to Letsencrypt SSL certificates, which do not allow wildcards, and are issued for 3 months only.
I know how to manually introduce the certificate via the admin interface, but I would like to know if there is a way to set-up Mailcleaner so it automatically uses the last certificate (avoiding manual input).
Does anybody know how to use Mailcleaner and Letsencrypt ?
We are using Letsencrypt with MailCleaner.
Most of the standard LE clients seem to need a newer version of python to run, which MailCleaner doesn't have at the moment.
So, we used https://github.com/srvrco/getssl
It runs periodically on a different machine and copies the acme-challenge onto the primary mailcleaner to /opt/mailcleaner/www/user/htdocs/.well-known/acme-challenge
I then wrote a basic php script to update the certificates in the mailcleaner MySQL database for both http and mysql. Finally, restart the mailcelaner http and smtp services.
Hope this helps. PM me if you would like the php script I created.
After release of the new version, we have some plan to support let's encrypt certificat too. It will certainly not be ready soon but it will be done.
Who is online
Users browsing this forum: No registered users and 2 guests