Script to renew certificates automatic for ejabberd
Add this script to /etc/cron.daily/
Make sure it's executable (chmod +x), change the DIR and NAME value's in the script.
Change DIR to the location of te Certificate
Change NAME to the FQDN of the certificate