Thank you for your reply, Actually, I have also tried the origin certificate, it seems that it doesn’t jave the hostname in the Subject name. And I need this certificate for my server to have in it the subject name.
Yes, Origin certificates list the names only in their SANs but that is no issue.
Just get an Origin certificate with the right hostnames and you are good to go. Should you need the hostname in the common name for some reason, then you could only get a certificate from a publicly trusted CA such as letsencrypt.org.
Here is the steps that I have done, I have generated a CSR on my server then i have uploaded it on origin server, with the host name as an example example.domain.com
It seems that in the certificate it says issued to Cloudflare origin certificate and it doesn’t include my example.domain.com.
I have uploaded the certificate that I am talking about.