How to Disable AutoSSL Email Notifications in cPanel

Learn how to disable AutoSSL email notifications in cPanel for single accounts or server-wide settings.

AutoSSL notifications keep users informed about the status of their SSL certificates, including expiration, installation, and renewal. While useful, these notifications can become overwhelming. Fortunately, cPanel provides straightforward ways to manage these alerts. This guide will show you how to disable AutoSSL email notifications using Servers99's streamlined approach.

What is AutoSSL?

With online security concerns on the rise, securing your website with an SSL certificate is more important than ever. SSL certificates not only protect your website but also improve your SEO ranking since search engines like Google prioritize HTTPS-secured websites.

Manually managing SSL certificates on VPS hosting can be time-consuming. AutoSSL, a feature in cPanel & WHM, simplifies this process by automatically installing and renewing domain-validated SSL certificates. Once enabled, your website is secured without manual intervention.

However, AutoSSL also sends frequent email notifications about certificate events by default. If you find these emails unnecessary, here’s how you can disable them.

Steps to Disable AutoSSL Email Notifications

Case 1: Disable AutoSSL Notifications for a Single cPanel Account
Log in to the server via WHM: Navigate to the relevant cPanel account.
Access Contact Information: Go to cPanel > Preferences > Contact Information within the account.
Disable Notifications: Uncheck the SSL notification options.
Save Changes: Click the Save button at the bottom of the page.
Case 2: Disable AutoSSL Notifications Server-Wide
Access WHM as Root: Log in using your root credentials.
Navigate to Manage AutoSSL: Go to SSL/TLS > Manage AutoSSL in WHM.
Adjust Notification Settings: Customize the notification preferences based on client requests.
Save Changes: Click the Save button to confirm.
Case 3: Disable Administrator AutoSSL Notifications
Use SSH to Access the Server: Log in as the root user via SSH.
Run API Commands: Execute the following commands to disable all AutoSSL-related notifications:

Copy Code

whmapi1 set_autossl_metadata_key key=notify_autossl_expiry value=0 whmapi1 set_autossl_metadata_key key=notify_autossl_expiry_coverage value=0 whmapi1 set_autossl_metadata_key key=notify_autossl_renewal value=0 whmapi1 set_autossl_metadata_key key=notify_autossl_renewal_coverage value=0 whmapi1 set_autossl_metadata_key key=notify_autossl_renewal_coverage_reduced value=0 whmapi1 set_autossl_metadata_key key=notify_autossl_renewal_uncovered_domains value=0
Verify the Results: Ensure the commands executed successfully to stop notifications.
Case 4: Bulk Disable Notifications for All cPanel Accounts
Run Custom Commands for a Single Account: Use the following API call for a specific cPanel user:

Copy Code

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
Replace $user with the actual username.
Run Commands for All Accounts: To apply changes to all accounts, list users in a file and execute:

Copy Code

for i in `cat user.txt`; do cpapi2 --user=$i 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

Conclusion

Enabling AutoSSL is a smart way to ensure your website remains secure with minimal effort. However, the constant email notifications might not be necessary for everyone. By following the steps above, you can easily customize or disable these notifications to suit your needs.

Need help managing your servers or SSL certificates? Servers99 is here to assist! We provide 24/7 cPanel management and expert web hosting support to clients worldwide. Reach out to us for top-notch assistance.