SSL not working on my subdomain

Possibly related to:

May I ask what SSL option you have got selected under the SSL/TLS tab at Cloudflare dashboard for your domain ( Flexible, Full, Full Strict … )?

There seems to be an issue with the SSL certificate at your origin host / server.
Before moving to Cloudflare, was your Website working over HTTPS connection?
If so, did you have a valid SSL certificate installed at your origin host / server which covers both your naked (root) domain and any other needed sub-domain like www, mail, etc.?

Could you please re-check if all including the naked domain, www, mail, and your sub-domain (possibly some more) are covered by your SSL certificate and the one installed at your origin host is still valid?

Here is a way to re-check if you correctly setup the SSL for your domain with Cloudflare:

Nevertheless, for proper security and HTTPS connection between the user-Cloudflare-origin the SSL option in the Cloudflare dashboard should be set to Full (Strict) SSL:

Well, it could be achieved by using Page Rules:

But using Flexible SSL is really not recommended and not secure as far as there are known issues with it:

In case you do not have an SSL certificate, you can use Cloudflare SSL, if so, kindly make sure you follow the instructions as follows on the below article to setup an SSL certificate using Cloudflare Origin CA Certificate:

Maybe you need to renew your SSL certificate at the origin host / server, if using Let’s Encrypt or AutoSSL (cPanel), etc.