How to disable SSL monitoring in WHMCS

edited September 5 in Web Development

The SSL check in WHMCS is a hardcoded function with no option to disable. As such there is no toggle on/off in the admin area.

As this feature does not work particularly well, it has been requested by some WHMCS clients to remove it. There still is not a straight forward way to remove it and the only way I know of, involves editing core template files. If this is something you can live with, here it how to disable the feature.

  1. Removing this section from the clientareaproductdetails.tpl file in your template in the /templates folder should remove the SSL details:

{if $domain && $sslStatus} <div class="row"> <div class="col-sm-5 text-right"> <strong>{$LANG.sslState.sslStatus}</strong> </div> <div class="col-sm-7 text-left{if $sslStatus->isInactive()} ssl-inactive{/if}"> <img src="{$sslStatus->getImagePath()}" width="12"> {$sslStatus->getStatusDisplayLabel()} </div> </div> {if $sslStatus->isActive()} <div class="row"> <div class="col-sm-5 text-right"> <strong>{$LANG.sslState.startDate}</strong> </div> <div class="col-sm-7 text-left"> {$sslStatus->startDate->toClientDateFormat()} </div> </div> <div class="row"> <div class="col-sm-5 text-right"> <strong>{$LANG.sslState.expiryDate}</strong> </div> <div class="col-sm-7 text-left"> {$sslStatus->expiryDate->toClientDateFormat()} </div> </div> <div class="row"> <div class="col-sm-5 text-right"> <strong>{$LANG.sslState.issuerName}</strong> </div> <div class="col-sm-7 text-left"> {$sslStatus->issuerName} </div> </div> {/if} {/if}

Again in the clientareaproducts.tpl file please remove the following lines only:

<img src="{$BASE_PATH_IMG}/ssl/ssl-inactive-domain.png" data-toggle="tooltip" title="{lang key='sslState.sslInactiveService'}">

<img src="{$service.sslStatus->getImagePath()}" data-toggle="tooltip" title="{$service.sslStatus->getTooltipContent()}" class="{$service.sslStatus->getClass()}"/>
Sign In or Register to comment.