Cpanel hostname cert


#1

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


#2

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


#3

Or try this bash script


#4

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