Skip to main content

SSL Notifications in cPanel 68

Comments

119 comments

  • rpvw
    Hi mtindor, I know you didn't ask me, but my observations below may help: Tweak settings > Send notifications when certificates approach expiry. seems to apply to Admins only The three settings I mentioned above remove the notification options from the users cPanel Edit Contact Information and Preferences page - so I am going to go out on a limb and guess that these apply to users only. I felt that the previous replies regarding the Tweak settings entry all left me with some doubt as to what it did exactly - so if some kind developer could give us a simple, unequivocal, (possible politically incorrect) clarification, I am sure everyone will thank you :)
    0
  • rpvw
    My apologies in advance, as this may upset some readers...... Well of course one can continue bashing the developers for whatever they did wrong - I know - I am often one of the first to loudly and thoroughly castigate when I see something I believe to be wrong. However - repetition does little to solve an issue other than to irritate ! [LIST]
  • Should this feature have been allowed to be pushed out in the form it was ? .... Of course not.
  • Should someone have thought about the implications ? .... Probably, but they either didn't think it would be an issue, or it got overlooked.
  • Did developers react to the communities concerns within a reasonable time frame ? ... I believe they did. All in all - I still think they did a great job - having once been involved in a software application myself, and having users come onto my forum and just moan and complain incessantly often left me wondering why I was bothering at all (and our software was FOSS), so I appreciated it when someone took the time and trouble to give us any encouragement. Bottom line, if you have something to say, be constructive and don't belabour the point. Software gets more complex and demanding every day. Users want it to do more, on a bigger variety of platforms, and maintain backward compatibility, and pay less for the privilege. If you think you can do a better job - we shall look forward to seeing your contribution !
  • 0
  • mtindor
    My apologies in advance, as this may upset some readers......

    That may or may not have been directed at me, at least in part. Regardless, I don't take offense. I'm not a software developer, and i do appreciate what the developers do. Perhaps "fail" was too harsh -- maybe "partial fail". I feel it was still constructive criticism, as I don't think it would be too late for the cPanel folks to default those options to DISabled, assuming they aren't disabled by default on a 66-to-68 update. Mike PS: I can't do a better job, and you won't see any contribution from me.
    0
  • mtindor
    rpvw, Thanks for the response. Do you have any idea if disabling those three notifications (under Manage AutoSSL-->Options) also disables (sets to =0) existing settings for the indivdual cPanel users that are entered into /var/cpanel/users/ ? You had stated that it removes the options from the users' cPanel Edit Contact Information and Preference page, but I'm just wondering if it also goes through /var/cpanel/users/* and disables them (or if it even needs to). The whole function in WHM under Manage AutoSSL-->Options might act upon things higher up the chain, thus ignoring any related lines in a /var/cpanel/users/. I know that after I logged into a WHM 68.0.14 and unchecked the options in Manage AutoSSL-->Options, the lines in /var/cpanel/users/ still exist and did not change. Previous to this I had already run the script (provided by a cPanel forum member) that sets the options to =0, and so it is unclear to me whether unchecking the items under Manage AutoSSL-->Options does anything to the /var/cpanel/users/ files -- or if it even needs to. I guess that the question isn't really one I should expect you or any other user to answer. Some definitive clarification by the cPanel folks would be nice though. Basically, I just want to know what happens, behind the scenes, when those options are unchecked in Manage AutoSSL-->Options. Does it act upon information previously added to /var/cpanel/users/? Or does it act on things higher up, thus ignoring any related entries in /var/cpanel/users/ when the options are disabled? Mike
    0
  • sparek-3
    My apologies in advance, as this may upset some readers......

    I would concur with what you said in this post. The following is really get a bit off of this topic, but I think it applies to what @rpvw has said. For the record, I haven't read through this entire thread, but I think I have the gist of what is going on. I have not yet upgraded to cPanel 68, for reasons I am about to explain. I think ultimately what all of this boils down to is a complete misuse (or misunderstanding) of the various cPanel release tiers (STABLE, RELEASE, CURRENT, EDGE, BETA?). I'm assuming that this "feature" was included in v68 when it was at EDGE and CURRENT? But the issue did not really raise it's head until v68 reached RELEASE? Am I correct in this assumption? If so, this is telling me that there's not enough people using CURRENT or EDGE and finding these issues before the version moves on up the cycle. Either that or cPanel is pushing out versions too fast through the various tiers. cPanel has attempted to remedy some of this with their new LTS schedule that went into affect this year. But it's still not a perfect system. I'm not sure of what the exact solution is. But just because there's not an immediate solution, doesn't mean you can't identify it as a problem. In my opinion, cPanel would be a bit better served if they simplified these release tiers. Have an EDGE release that's mostly for developers - people that develop plugins and addon products for cPanel. Not really real-world ready Have an LTS version - perhaps twice a year instead of the current once per year. Continue to support both versions (provide security updates) for 12 months. Another words release an LTS in January, release another LTS in June but continue to support the January release through December, and continue to support the June release through May. Have something in between - call it RELEASE or CURRENT. This tier gets updated more often. Ideally you'd provide some type of incentive (lower price?) to use this tier, the idea being to get more people willing to use this tier and identify real-wolrd issues before it reaches LTS. This only works if you have a legitimate number of using using this tier and using it in real-word production environments, otherwise everyone is just going to be on LTS and only identify the issues when the release hits LTS. This is one reason why I stay a bit behind the RELEASE tier (I suppose STABLE is more of where I'm at, but you can likely expect to find more issues with v68 when it reaches STABLE as even more users get the update). I stay tuned into these forums to see what "issues" might exist in various releases. I know all of this is a bit off of the original topic here. But I just think this issue could have been avoided if it had been identified earlier in the release cycle.
    0
  • rpvw
    Do you have any idea if disabling those three notifications (under Manage AutoSSL-->Options) also disables (sets to =0) existing settings for the indivdual cPanel users that are entered into /var/cpanel/users/ ?

    I am sorry but I did not test that, since I had previously used the shell script that a user kindly provided in one of the many recent threads pertinent to this subject, to loop through all the users, and disable the notifications in each user cPanel so everything was already set to =0
    unchecked the options in Manage AutoSSL-->Options, the lines in /var/cpanel/users/ still exist and did not change.

    I also found that behaviour on users that I had disabled in WHM >> SSL/TLS >> Manage AutoSSL > Manage Users. I raised a bug report about it because I felt that the notification options should not even be displayed in a users cPanel if the autoSSL had been disabled for that user - I never got a reply, so I closed the report in a fit of pique.
    0
  • rpvw
    You might like to read through a thread I opened some time ago relating to accelerated (and possibly unrealistic) release schedules and their consequences. Updates and Minefields
    0
  • sparek-3
    Indeed! I pretty much echo everything you said in that thread. Perhaps my post really belongs in that thread. As you said, there just seems to be a lot missing from a quality control standpoint. I also don't believe there is anything wrong with constructive criticism. A boardroom full of yes men won't get you very far. As long as it's done in a tactful manner and your posts are always polite, maybe a side of grumpy, but there's nothing wrong with that (mine are too at time).
    0
  • germany
    So, client will receive at least one notification.
    0
  • desk
    Hi, I'm an end user managing a simple web site, & know nothing of scripts & servers. But I keep getting AutoSSL renewal notices (see attachment SSL letter.gif). As far as I know, I've never had certificates attached to either of my domain names. The server who seems to be sending the notices (Hudson Valley Host) is one I have never used. The log-on page the letter sends me to will not accept my current cPanel username & password, nor any I have used in the past. My question is simple: is there some way I can stop the reminders from my end? I don't know if they can be treated as ordinary junk mail, as the sender is listed as my own cPanel account, from my email address at my current servers. (If they were blocked, it might destabilize the situation.) I spoke to my servers, who directed me to the other server that seems to send the letters, but after days of being put on tickets the reminders keep arriving. Can you suggest any remedy? Thanks
    0
  • sparek-3
    (I'm slightly off-topic again)
    The log-on page the letter sends me to will not accept my current cPanel username & password, nor any I have used in the past.

    You probably shouldn't do that. This is how phishing scams work. Your real cPanel username and password may be compromised now. I would suggest that you log into your real cPanel account ([plain]http://yourdomain.tld/cpanel[/plain]) and change your password as soon as possible. I'm not saying that this particular link was a phishing scam, but you never know. If your real login isn't working, then it's obviously not a link to your real cPanel.
    0
  • cPanelMichael
    For some reason, Lets Encrypt is not an option in the list of Providers for AutoSSL (only Comodo is listed).

    Let's Encrypt isn't enabled by default. Documentation on how to enable it as an AutoSSL provider is available at: > Contact Manager" controls whether non-AutoSSL certificate expiry notifications are sent to the server administrator. cPanel users will still default to receiving certificate expiry notifications unless you disable the following option under "Notifications" in "WHM >> Tweak Settings". Send notifications when certificates approach expiry.
    The idea is not to have _any_ of these emails sent out, not even once, unless the admin enables those options. In summary, assuming that a WHM 66 to 68 update does not automatically have those options disabled, I feel they should.

    The following case was implemented in cPanel version 68.0.9 to help alleviate this concern for expiry notifications: Fixed case CPANEL-16548: Defer sending certificate expiry notifications until history catches up. Per the changes in this case, certificate expiry notifications are not sent out for the first ten days after an upgrade. Note this does not apply to new installations of cPanel.
    I guess that the question isn't really one I should expect you or any other user to answer. Some definitive clarification by the cPanel folks would be nice though. Basically, I just want to know what happens, behind the scenes, when those options are unchecked in Manage AutoSSL-->Options. Does it act upon information previously added to /var/cpanel/users/? Or does it act on things higher up, thus ignoring any related entries in /var/cpanel/users/ when the options are disabled?

    It should ignore previously saved cPanel contact preferences and disable those notifications globally (while preserving the user-configured options in the event you enable those notifications from "WHM >> Manage AutoSSL >> Options" in the future).
    I raised a bug report about it because I felt that the notification options should not even be displayed in a users cPanel if the autoSSL had been disabled for that user - I never got a reply, so I closed the report in a fit of pique.

    This is fixed as of cPanel version 68.0.12: Fixed case CPANEL-16755: Ensure disabled notifications options are hidden in cPanel.
    So, client will receive at least one notification.

    Could you elaborate on the specific notification type you are referring to? New SSL expiry notifications are not sent out for the first ten days after upgrading to cPanel 68. This provides you with some time to configure your notification preferences.
    My question is simple: is there some way I can stop the reminders from my end? I don't know if they can be treated as ordinary junk mail, as the sender is listed as my own cPanel account, from my email address at my current servers. (If they were blocked, it might destabilize the situation.) I spoke to my servers, who directed me to the other server that seems to send the letters, but after days of being put on tickets the reminders keep arriving.

    You'd need to access cPanel on the server that's generating the notifications to modify the preferences via the Contact Information option. If your username/password are not working, try contacting your hosting provider to see if they can provide you a valid username/password and login URL for cPanel access (e.g. Old-Server-IP/cpanel). Thank you.
    0
  • wwwcad
    All my customers keeps receiving these emails every f***** day. Hundreds of support tickets asking about what's going on. People asking Refunds for their branded SSL certificates because we are reporting a fail in their "coverage". :mad::mad::mad: Worst update by Cpanel ever.
    0
  • cPanelMichael
    Hi @wwwcad, Were you able to review the previous posts regarding the steps you can take to disable the notifications for all cPanel users? Here's the link to the specific post: SSL Notifications in cPanel 68 Thank you.
    0
  • wwwcad
    The only way to stop these emails server-wide was to add a system filter to exim. /etc/cpanel_exim_system_filter
    if $header_subject: contains "AutoSSL" then #If logfile configured #logwrite "BLOCKED AUTOSSL EMAIL $tod_log $sender_address $sender_address_domain $header_to $sender_address_local_part $header_subject" seen finish endif
    0
  • cPanelMichael
    The only way to stop these emails server-wide was to add a system filter to exim.

    Hello, While a system filter rule is one way to stop the emails, the other method (referenced in my last response) should also work to stop the notifications. Can you verify if you tried using that script? Thank you.
    0
  • wwwcad
    Hello, While a system filter rule is one way to stop the emails, the other method (referenced in my last response) should also work to stop the notifications. Can you verify if you tried using that script? Thank you.

    No Michael, Sorry. The script was executed and it reported an OK to the changes requested via the API but the emails are still being sent in all our servers. The filter was the only solution to avoid them server-wide. Example of some of the emails being sent.
    2017-12-13 03:16:37 [718430] 1eP2DU-0030ta-3E <= cpanel@xxxxxx H=(localhost.localdomain) [127.0.0.1]:36433 I=[127.0.0.1]:25 P=esmtp S=43785 M8S=0 id=1513152996.bm7cEW8bldyKbGqk@xxxxx T="[xxxx] \342\232\240 xxxx: The AutoSSL certificate renewal may cause a reduc" from for xxxx@gmail.com
    0
  • cPanelMichael
    The script was executed and it reported an OK to the changes requested via the API but the emails are still being sent in all our servers.

    Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look at the system and the email logs to see why exactly it didn't work as expected. Thank you.
    0
  • stormy
    I need some final clarification on notifications, because things have changed and the documentation doesn't seem to be updated/complete. There are now 3 places to configure notifications: 1. Tweak settings > Notifications > Send notifications when certificates approach expiry ("Send a notification when an SSL certificate expires soon. The system will only send a notification for an AutoSSL-provided certificate if that certificate fails to renew".) Does this send notifications to the cPanel user or to the server admin? Or both? 2. Contact manager: There are two related notifications here, "AutoSSL certificates expiring" and "SSL certificates expiring". Both say this: "This option performs no actions when the "Send notifications when certificates approach expiry." option is disabled in WHM"s "Tweak Settings" interface." So, depending on the answer to my question about 1, there's no way for the server admin only to receive notifications, and not notify the final users. 3. Manage AutoSSL > Options. Here are the new notification options. I think these are user only notifications. Am I right? Thanks for the clarification!
    0
  • cPanelMichael
    Hello @stormy, I'm formulating my response based on the behavior in cPanel version 70, as it's nearing publication to the Current build tier (tentatively planned for the third week of January). cPanel version 68 becomes EOL once version 70 reaches the Stable build tier.
    . Tweak settings > Notifications > Send notifications when certificates approach expiry ("Send a notification when an SSL certificate expires soon. The system will only send a notification for an AutoSSL-provided certificate if that certificate fails to renew".) Does this send notifications to the cPanel user or to the server admin? Or both?

    As of cPanel version 70, the "Send notifications when certificates approach expiry" option in "WHM >> Tweak Settings" applies to non-AutoSSL certificates only (unless AutoSSL is disabled on the system): Fixed case CPANEL-16927: Make notify_expiring_certificates ignore AutoSSL when AutoSSL is active. Thus, since you are using AutoSSL, the "Send notifications when certificates approach expiry" only applies to non-AutoSSL certificates. Additionally, by default, notifications are sent both to users and administrators. If "Send notifications when certificates approach expiry" is disabled, this notification type is not utilized at all. If you want the administrator notification enabled, but the user notification disabled, then you'd leave the option enabled in "WHM >> Tweak Settings" and access cPanel to disable "SSL certificate expiry" under the "Contact Information" option for each user. If you want user notifications enabled, but the administrator notification disabled, then you'd leave the tweak setting option on and modify the contact preference for "SSL certificates expiring" in "WHM >> Contact Manager".
    . Manage AutoSSL > Options. Here are the new notification options. I think these are user only notifications. Am I right?

    No, that's not correct. The "WHM >> Manage AutoSSL" notification settings control whether a specific AutoSSL notification type is active on the system. For the enabled AutoSSL notification types, you use "WHM >> Contact Manager" to control if the enabled notification types are sent to the administrator, and you use "cPanel >> Contact Information" to control whether enabled notification types are sent to the cPanel user. Thank you.
    0
  • WorkinOnIt
    Well I've read through this entire thread and I am still confused. I simply want to disable the email notifications for Auto SSL that get sent to the end user (cPanel account email address). I've had dozens of clients contacting me wondering what all the AutoSSL emails mean. Since I manage the server, I don't want end users seeing this kind of communication. So - please explain in the simplest terms, how can I turn off the AutoSSL emails for the end users? I can see that it is possible to control this in the "Contact Information and Preferences" section within each individual cPanel account - but I want to control the notifications for all users on a server wide basis. There really should be a simple WHM panel interface that contains the notification controls for all the end users (cPanel accounts) - that's separate from the admin notifications.
    0
  • rodpascoe
    Well I've read through this entire thread and I am still confused. I simply want to disable the email notifications for Auto SSL that get sent to the end user (cPanel account email address). I've had dozens of clients contacting me wondering what all the AutoSSL emails mean. Since I manage the server, I don't want end users seeing this kind of communication. So - please explain in the simplest terms, how can I turn off the AutoSSL emails for the end users? I can see that it is possible to control this in the "Contact Information and Preferences" section within each individual cPanel account - but I want to control the notifications for all users on a server wide basis. There really should be a simple WHM panel interface that contains the notification controls for all the end users (cPanel accounts) - that's separate from the admin notifications.

    Confusing isn't it? I still get the emails (as do my users) despite following all the instructions on here. Opened a ticket and never got a reply. Gave up and now just delete the emails.
    0
  • sparek-3
    Have you tried running: /usr/local/cpanel/bin/whmapi1 set_autossl_metadata metadata_json={\"notify_autossl_expiry_coverage\":0} /usr/local/cpanel/bin/whmapi1 set_autossl_metadata metadata_json={\"notify_autossl_renewal_coverage\":0} /usr/local/cpanel/bin/whmapi1 set_autossl_metadata metadata_json={\"notify_autossl_renewal\":0} Or through the WHM interface: Manage AutoSSL -> Options -> Notify when AutoSSL defers certificate renewal because a domain on the current certificate has failed DCV. Manage AutoSSL -> Options -> Uncheck Notify when AutoSSL will not secure new domains because a domain on the current certificate has failed DCV. Manage AutoSSL -> Options -> Uncheck Send notifications when AutoSSL has renewed a certificate. Further explanation: /usr/local/cpanel/bin/whmapi1 set_autossl_metadata metadata_json={\"notify_autossl_expiry_coverage\":0} unchecks Manage AutoSSL -> Options -> Notify when AutoSSL defers certificate renewal because a domain on the current certificate has failed DCV. /usr/local/cpanel/bin/whmapi1 set_autossl_metadata metadata_json={\"notify_autossl_renewal_coverage\":0} unchecks Manage AutoSSL -> Options -> Notify when AutoSSL will not secure new domains because a domain on the current certificate has failed DCV. /usr/local/cpanel/bin/whmapi1 set_autossl_metadata metadata_json={\"notify_autossl_renewal\":0} unchecks Manage AutoSSL -> Options -> Send notifications when AutoSSL has renewed a certificate. Doing it through the command-line is quicker for me, but may not be the case for you. Does this stop all of the notifications? I'm really not sure.
    0
  • cPanelMichael
    I can see that it is possible to control this in the "Contact Information and Preferences" section within each individual cPanel account - but I want to control the notifications for all users on a server wide basis.

    Hello, Here's a post here with an example of a script you can use to disable the cPanel user AutoSSL notifications for every user: Post 2496419 Keep in mind this is improved in cPanel version 70, as the ability to disable options that send AutoSSL notifications to cPanel users will exist in "WHM >> Home >> SSL/TLS >> Manage AutoSSL". Thank you.
    0
  • ChadBigHippoHost
    Hello, Here's a post here with an example of a script you can use to disable the cPanel user AutoSSL notifications for every user: Post 2496419 Keep in mind this is improved in cPanel version 70, as the ability to disable options that send AutoSSL notifications to cPanel users will exist in "WHM >> Home >> SSL/TLS >> Manage AutoSSL". Thank you.

    Thank you for clarifying this. I will look forward to this solving these emails in cPanel 70.
    0
  • Hedloff
    Have anyone tested that these emails are not sent out in version 70 after disabling this in tweak settings? We're still at version 66 because of these terrible emails causing so much pain for our customers and helpdesk!
    0
  • sneader
    We're still at version 66 because of these terrible emails causing so much pain for our customers and helpdesk!

    The fix is well documented in this thread... one simple command line, and the notifications can be disabled. Did you miss that? upgrade to 68, then run the command, problem solved. We have found that the notifications are actually helpful, except for the "successful renewal" emails, so those are the only ones we have disabled. The rest of them are almost always pointing to some type of problem that should be fixed anyway. We have devised a couple of standard responses that help customers to learn more about the "SSL/TLS Status" feature in cPanel to give them control over what FQDNs they want protected by SSL. Your mileage may vary here... but, I think you could upgrade and disable the notifications easily. - Scott
    0
  • Hedloff
    Thanks Scott! But we do not use AutoSSL for our customers. We sell SSL and actually make profits, therefore we do not want to use it. No, I didn't read the whole thread because I will skip version 68 on our servers and go directly to version 70. I updated one server to 70 and changed setting, but I do not fully trust cPanel have fixed it.... That's why I wanted some feedback on this setting in tweak:
    0
  • cPanelMichael
    But we do not use AutoSSL for our customers. We sell SSL and actually make profits, therefore we do not want to use it.

    I updated one server to 70 and changed setting, but I do not fully trust cPanel have fixed it.... That's why I wanted some feedback on this setting in tweak (Send notifications when certificates approach expiry)

    Hello @Hedloff, Yes, disabling the "Send notifications when certificates approach expiry" option in "WHM >> Tweak Settings" in cPanel version 70 will disable the notifications that occur when non-AutoSSL SSL certificates are about to expire. Let us know if you have any additional questions. Thank you.
    0
  • rodpascoe
    The fix is well documented in this thread... one simple command line, and the notifications can be disabled. Did you miss that? upgrade to 68, then run the command, problem solved. We have found that the notifications are actually helpful, except for the "successful renewal" emails, so those are the only ones we have disabled. The rest of them are almost always pointing to some type of problem that should be fixed anyway. We have devised a couple of standard responses that help customers to learn more about the "SSL/TLS Status" feature in cPanel to give them control over what FQDNs they want protected by SSL. Your mileage may vary here... but, I think you could upgrade and disable the notifications easily. - Scott

    Only it didn't fix it for everyone (us included) so Hedloff's question is valid.
    Thanks Scott! But we do not use AutoSSL for our customers. We sell SSL and actually make profits, therefore we do not want to use it. No, I didn't read the whole thread because I will skip version 68 on our servers and go directly to version 70. I updated one server to 70 and changed setting, but I do not fully trust cPanel have fixed it.... That's why I wanted some feedback on this setting in tweak:

    We sell them too and couldn't agree more. Yes Hedloff, 70 finally fixed it, just take all the ticks out of the boxes to say good-bye to those pesky emails.
    0

Please sign in to leave a comment.