- Code: Select all
/usr/local/cpanel/bin/checkallsslcerts
Example of the command output:
Self Signed SSL Certificate for ftp does not match current hostname! (srv1.example.com != srv1.newdomain.com).
Creating new Certificate and Key for ftp....Done
Self Signed SSL Certificate for exim does not match current hostname! (srv1.example.com != srv1.newdomain.com).
Creating new Certificate and Key for exim....Done
Self Signed SSL Certificate for dovecot does not match current hostname! (srv1.example.com != srv1.newdomain.com).
Creating new Certificate and Key for dovecot....Done
Self Signed SSL Certificate for cpanel does not match current hostname! (srv1.example.com != srv1.newdomain.com).
Creating new Certificate and Key for cpanel....Done
As always, you can do it via WHM insterface as described at:
http://docs.cpanel.net/twiki/bin/view/11_30/WHMDocs/ManageSslcerts