cPanel host certificate expired

This happenned few times – for some reason host SSL certificate was not renewed or was not installed properly, that lead to WHM/cPanel and mail services responding with expired certificate.. Found this quick fix on cPanel forum.

mv /var/cpanel/hostname_cert_csrs{,.cpbkp} -v

/usr/local/cpanel/bin/checkallsslcerts

Here is original post: https://forums.cpanel.net/threads/force-autossl-for-service-ssl.696225/#post-2890429