Hi there i tried follow the tutorial for ( SSL/TLS not working on subdomain ) but still not working
Main domain is working fine www.marketinginstitute.com but courses.marketinginstitute.com
And the ssl is set to be full ssl ,but subdomain will not work on the full ssl
it will work only on flexible and if i turned the flexible on the main domain will not work
so one will work and other will not ,is there a way to set different ssl for the subdomains?
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:
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:
Should be set to Full (strict). Kindly, re-read my first post.
I would remove this Page Rule.
I linked the tutorial for “Setting SSL/TLS Mode using Page Rules.” in my first post too in case if needed.
Generally, I would correct my SSL settings and make sure it’s set to Full (Strict) for both my naked domain, my www and my sub-domains and make sure to have the SSL certificate installed at my origin host / server which covers all the needed.
Therefore, no need to use a custom Page Rule for a different SSL mode (unsecure!?) for my sub-domain, which makes my sub-domain even less secure.
I did convert it to strict and primary domain www.marketinginstitute.com worked fine and i added page rule for ssl for subdomain as flexible yet this time it seem opening but a blank page only appear