Page 1 of 1

Install your Bought or LetsEncrypt SSL into Magic Spam

Posted: Tue Aug 21, 2018 1:22 pm
by snowymountain
I wanted to install the verified and up to date SSL we installed on our zimbra server into the MagicSpam interface so I created this little script...

login on ssh as root and paste these commands as is...

service magicspam-httpd stop
cp etc/magicspam/httpd/magicspam.pem etc/magicspam/httpd/magicspam.pem.BAK
rm /etc/magicspam/httpd/magicspam.pem
cat /opt/zimbra/conf/smtpd.crt /opt/zimbra/conf/smtpd.key > /etc/magicspam/httpd/magicspam.pem
service magicspam-httpd start

thats it...

I'll come back with a quick patch from Automatic renewal with letsEncrypt once I write it.