Cpanel hostname cert

does anyone know what command i run through ssh to generate and install the cert to my hostname for cPanel/WHM ? :wink:

OS:CentOS 6

for cpanel / WHM it stores the certificates in a single file in /var/cpanel/ssl/cpanel/mycpanel.pem and afterwards you will need to restart the cpanel services ( /scripts/restartsrv_cpsrvd )

Personally I use a script (getssl) to do this, but you could do it with the official client, and then concatenate the key, cert and chain files together into a single file in /var/cpanel/ssl/cpanel/mycpanel.pem

1 Like

Or try this bash script

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.