[%# This template is sent when ALL domains fail DCV Notify when [asis,AutoSSL] cannot request a certificate because all domains on the website have failed [output,abbr,DCV,Domain Control Validation]. Variables passed in: certificate - instance of Cpanel::SSL::Objects::Certificate vhost_name - the name of the virtual host onto which the SSL cert is installed vhost_domains - the (sorted) list of domains that point to the virtual host ssl_tls_manager_url - URL to the SSL/TLS manager ssl_tls_wizard_url - URL to the SSL/TLS wizard ssl_tls_status_url - URL to the SSL/TLS Status Page enabled_providers_count - The number of enabled providers in the SSL/TLS wizard autossl_queue - AutoSSL Queue Entries for the vhost autossl_problems - AutoSSL Problems Entries for the vhost autossl_provider - The module name of the AutoSSL provider remaining_time - The duration of time until the certificate expires in seconds. remaining_time_localized - The duration of time until the certificate expires. For more information about how to customize notification templates, read our documentation at https://go.cpanel.net/notificationtemplates -%] [% PROCESS "include/colors.tmpl"; PROCESS "include/styles.tmpl"; PROCESS 'include/zebra_table.tmpl'; PROCESS 'include/code_block.tmpl'; PROCESS "include/certificate_info_extended.tmpl"; PROCESS 'AutoSSL/includes/autossl_queue_table.tmpl'; PROCESS 'AutoSSL/includes/autossl_problems_table.tmpl'; PROCESS "SSL/includes/market_upgrade_options.tmpl"; SET covered_domains = []; FOREACH vhost_domain IN NOTICE.vhost_domains; IF vhost_domain.covered; covered_domains.push(vhost_domain); END; END; SET expire_message = CPANEL.locale.maketext('[_1]: The [asis,AutoSSL] certificate expires on [datetime,_2,date_format_medium] at [datetime,_2,time_format_medium] [asis,UTC].', NOTICE.vhost_name, 1 + NOTICE.certificate.not_after() ); IF NOTICE.remaining_time > 0; SET remain_message = CPANEL.locale.maketext('At the time of this notice, the certificate will expire in [comment,length of time for example 2 days and 1 second][_1].', NOTICE.remaining_time_localized); ELSE; SET remain_message = '' _ CPANEL.locale.maketext('At the time of this notice, the certificate expired [comment,length of time for example 2 days and 1 second][_1] ago.', NOTICE.remaining_time_localized.remove('^-') ) _ ''; END; SET NOTICE.email_reason = expire_message _ " " _ remain_message; WRAPPER 'wrapper/main.html.tmpl'; %]
[% CPANEL.locale.maketext('[asis,AutoSSL] did [output,strong,not] renew the certificate for “[_1]”. [output,strong,You must take action to keep this site secure.]', NOTICE.vhost_name) %]
[% autossl_problems_table( autossl_problems=NOTICE.autossl_problems, autossl_provider=NOTICE.autossl_provider, ssl_tls_status_url=NOTICE.ssl_tls_status_url ) %] [% autossl_queue_table( autossl_queue=NOTICE.autossl_queue, autossl_provider=NOTICE.autossl_provider, autossl_problems=NOTICE.autossl_problems ) %][% IF NOTICE.remaining_time > 0 %] [% CPANEL.locale.maketext('The following [numerate,_1,domain,domains] will lose [asis,SSL] coverage when the certificate expires:', covered_domains.size) %] [% ELSE %] [% CPANEL.locale.maketext('The following [numerate,_1,domain,domains] lost [asis,SSL] coverage when the certificate expired:', covered_domains.size) %] [% END %]