I have a problem with Cloudflare SSL. When I use only for the domain it is working normally. But when you put a subdomain of type A, the certificate does not work. I use Always use HTTPS and Automatic HTTPS Rewrites active. After doing this configuration the following situations occur when typing the url: myite.com - > The cloud already switches automatically to https and it works. www.meusite.com - > It continues in http and works without ssl. test.myusite.com - > It continues in http and works without ssl. Note: sometimes this operation is switched between the domain and the subdomain.
Another problem that occurs is that from 30 min to 30 min the certificate switches between subdomain and domain.
All this seems to be a conflict.