Collapse

Announcement

Collapse
No announcement yet.

AutoSSL notification disable for all users on cPanel.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AutoSSL notification disable for all users on cPanel.

    Recently from cpanel version 68.0 autossl notifications being sent to all customers whos SSL has been renewed or expired or unable to renew etc,

    Client dont want to receive such notification to his end client as clients dont have any idea regarding the notifications.

    You can use cpanel's api function and disable the notifications for all users .

    This can be done for all users, here is script to do that for all users,

    Code:
    #!/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

  • #2
    Thanks for sharing this information.

    Comment

    Working...
    X