At the moment we run the renwals of several servers manually using acme.sh v3.0+
The cron job is there to renew cert and it uses cloudflare token and this all works perfectly.
The issue we have is requiring further scripting to stop our particular mail server rename the cert and copy it into place and start the server - very trivial yes !
Is there a way or method to do this (as root) included in the acme.sh ?
The command is listed below and manually run prior to ssl expirey it has to be run as root
cp ~/.acme.sh/name.domain.com/fullchain.cer /usr/local/kerio/mailserver/sslcert/server.crt
cp ~/.acme.sh/name.domain.com/name.domain.com.key /usr/local/kerio/mailserver/sslcert/server.key
Any help or pointers would be super appreciated !