Issue: I need to manually update / renew the SSL certificate for my server.
Solution: Open an SSH session on your server. Reset the certificate to a self signed certificate. Then remove the old CSR. Finally, order a new certificate. Commands are below.
First, reset the hostname certificate to a self-signed one:
for service in ftp exim dovecot cpanel ; do whmapi1 --output=jsonpretty reset_service_ssl_certificate service=$service ;done
Move the old CSR:
mv /var/cpanel/hostname_cert_csrs{,.cpbkp} -v
Order (and install) the new certificate:
/usr/local/cpanel/bin/checkallsslcerts
The ordering and installation process can take a few moments to complete .