Cloudflare Origin Certificate problem with Subdomains


Yesterday I installed Cloudflare Origin Certificate on my wesbsite.

Everything was working fine yesterday but when I got up this morning, I noticed that one of my subdomains ( was not working properly and it was automatically redirected to main domain (

I thought that as I installed the CF origin Certificate yesterday and the problem could have started after that.

I went to Cpanel and looked for the installed certificates for the main domain and the subdomain

I noticed that the had cloudflare origin server but the subdomain had Cpanel auto SSL.

I thought that maybe this is causing some conflict and I removed the Cpanel autossl issued certificate from the subdomain and hoped that this would resolve the conflict if any.

However, I found out that the issue was not resolved with this.

My next step was to install cloudflare’s origin certificate to the subdomain separately but the Cpanel returned an error that this “origin Certificate” is already installed on main domain

While I was installing CF origin Certificate yesterday, my understanding was that the CF origin certificate will be valid for the main domain and all subdomains as well like However, I noticed that the CF origin certificate is not covering

In panic, I decided to uninstall CF origin certificate and issue Cpanel AUtoSSL certificate but that too returned error that Cpanel cannot run auto SSL because of some missing txt records in DNS. Now I can guess that Cpanel autossl is tyring to look for some txt records in DNS and since I am using CF DNS, the text record is not there.

My question is how do we manage the origin certificate in case the main domain has a subdomain as well?

Help will be appreciated. Thanks

You may have to create an origin certificate for each hostname individually. One for, one for, etc. Then put them in cPanel. Hopefully cPanel won’t see them as duplicates (they aren’t) and will work.

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