How can I have a certificate when using Partner's CNAME service?

ssl
dns
cname

#1

I can’t have a certificate for “example .com”,which is a “root domain”.
But I have got a certificate for “www .example .com”.

Yesterday I also have added a domain to Cloudflare through the Partner.This site have both certificates (“www” and root) issued immediately.

How can I deal with it?

Domain hosted on DigitalOcean.
Domain has 1 CNAME (www .example .com) which points to www.example.com.cdn .cloudflare.net.

Someone says that when issuing the certificate,CF need to verify the CNAME,and then issue the certificate.
But how can I add a cname record to a root domain???
And why I have it done successfully yesterday without any problems?


#2

Anyone?


#3

If your DNS servers are still not on Cloudflare then either the partner would need to support ANAME records so you can create a cname like entry at the root or you’d need to move the nameservers to Cloudflare so that we can cover any record you’d like.


#4

I tried a way,first added the domain to a free plan,added a CNAME for the root domain,which called Flatten CNAME.And then I deleted the domain.Now the domain is pointed to CF’s NS servers,but not associated with any accounts.

Then the partner helped me added a CNAME record via Partner API,using @.
And I get a cert for root domain now.

I don’t know which of the two ways works.Anyway,I get the cert.