Move certificates to a subdomain placed on other provider

Operating System & Version
Centos 7
cPanel & WHM Version
102.0.17

jtejada

Registered
May 27, 2022
2
0
1
España
cPanel Access Level
Website Owner
Hi all,

We actually have a web server with WHM and CPANEL where the certificates are renewed automaticall but we have other web server with a subdomain where we have to migrate the certificates for the subdomain accessing to CPanel, renewing certs and manually editing the ca.crt, cert.key and cert.cert files each time they expires. We want to do this task automatically.

Could someone help us explaining how to obtain these files from the main server to move them to the subdomain server or if there is another way to renew certs directly onto the subdomain server?

Regards,
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,352
2,246
363
cPanel Access Level
Root Administrator
Hey there! AutoSSL would only be able to issue certificates on the cPanel server itself where the AutoSSL process runs. If there are other subdomains elsewhere, manually moving the certificates as you are doing would be the only way to go about using them.

The easiest way to get the SSL data is likely from WHM >> SSL Storage Manager, as you can click each domain and see the SSL being used from that page.
 

jtejada

Registered
May 27, 2022
2
0
1
España
cPanel Access Level
Website Owner
Hi cPRex,
Thank you for your answer. Maybe my questions would be if there is any procedure to create automatically the ca.crt, cert.key and cert.cert files when certerificates are renewed to move them to the subdomain machine.