Jump to content
powie.de Tech Forum
Sign in to follow this  
Powie

plesk_mailcert Changelog

Recommended Posts

Script:


https://github.com/Powie/plesk_mailcert


Copys Plesk LetsEncrypt CERT to Mailservers and Webmin Script Version: 1.05


The script MAILCERT is used if you secured your plesk server also with an LetsEncrypt certificate, Example: server.mydomain.tld


WARNING! This is experimental and only tested on Debian Systems at this time. Make sure you have backed up your PEM files before usage


Supported:


Plesk 12.5

Debian

Postfix

Dovecot

Courier

Webmin

QMail

Usage:


Install the LetsEncrypt Plesk Extension: https://github.com/plesk/letsencrypt-plesk

Add a webspace with your plesk hostname and secure it with as LetsEncrypt certificate

Edit MAILCERT script and set the hostname to server.mydomain.tld

Run it manually or set up a monthly cron job

Remarks: The MAILCERT Script try's to get the actual PEM File from the vhost. This file is changed after each renewal of the LetsEncrypt certificate. If the file exists, it will be copied to the known default pem file of the services. At this time:


Dovecot: /etc/dovecot/private/ssl-cert-and-key.pem

Postfix: /etc/postfix/postfix_default.pem

Courier IMAP: /usr/share/imapd.pem

Courier POP3: /usr/share/pop3d.pem

Webmin: /etc/webmin/miniserv.pem

QMail: /var/qmail/control/servercert.pem

If you have any questions or will get support please contact us at https://forum.powie.de

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×