How to turn off AutoSSL notifications send to users

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
Ruthie
Posts: 0
Joined: Sun Apr 29, 2018 8:58 am

How to turn off AutoSSL notifications send to users

Post by Ruthie »

Hello,

I have a VPS. I would like to turn off all autossl notifications send to the users. Can you tell me a solution for it? I cant do it for each user from cPanel. I want to turn it off server wide.



Joan N
Posts: 0
Joined: Mon Mar 27, 2017 11:46 am

Re: How to turn off AutoSSL notifications send to users

Post by Joan N »

Hello,

We have several ways to do that. Please have a look at the steps mentioning below. Both of them are doing via WHM panel.

1. Disable notifications via WHM Manage AutoSSL:
=====================================
Home »SSL/TLS »Manage AutoSSL
1. Select the Options tab
2. Remove the check for the notifications you do not wish to receive
3. Save
=====================================

2. Disable notifications via WHM Tweak Settings for ssls reaching expiration:
=====================================
Home »Server Configuration »Tweak Settings
1. Notifications section
2. Disable "Send notifications when certificates approach expiry."
3. Save
=====================================



Ruthie
Posts: 0
Joined: Sun Apr 29, 2018 8:58 am

Re: How to turn off AutoSSL notifications send to users

Post by Ruthie »

Hello Joan,

It worked. Thank you for your quick reply.



Joan N
Posts: 0
Joined: Mon Mar 27, 2017 11:46 am

Re: How to turn off AutoSSL notifications send to users

Post by Joan N »

Hello,

Always welcome. Also you can use following script provided by cPanel.

#!/bin/bash
/bin/ls -1 /var/cpanel/users | while read USER; do
/bin/echo "Now processing ${USER} ..."
/usr/bin/cpapi2 --user=${USER} CustInfo savecontactinfo notify_autossl_expiry_coverage=0
notify_autossl_renewal_coverage=0 notify_autossl_expiry=0 notify_autossl_renewal=0
done



Ruthie
Posts: 0
Joined: Sun Apr 29, 2018 8:58 am

Re: How to turn off AutoSSL notifications send to users

Post by Ruthie »

Thank you :-)



Post Reply