How to disable AutoSSL notifications to the customers cpanel account emails
Recently many of our customers had asked us how they can disable AutoSSL notifications to the end user cpanel account emails. So we guys made a reasearch on this and got the cpanel forum link which this discussion was already going on and saw a script.
Save the below to /root/autossldisable.sh, chmod 755 autossldisable.sh and then run it with ./autossldisable.sh
#!/bin/bash cd /var/cpanel/users for user in * do cpapi2 --user=$user CustInfo savecontactinfo notify_autossl_renewal=0 notify_autossl_renewal_coverage=0 notify_autossl_expiry_coverage=0 notify_autossl_expiry=0 notify_ssl_expiry=0 done
This will disable 5 AutoSSL notices off for every user on the server.
Hope this helps
Update : Good news is that by Cpanel 70 version, you will have these options available at Manage Autossl section in the WHM
Reference and Courtsey for the above script : forum.cpanel.net
Reference Link for full discussion : https://forums.cpanel.net/threads/ssl-notifications-in-cpanel-68.614395/