0

I am running a site using CraftCMS and have a shared CloudFlare SSL certificate in place. Based on my understanding, the content source (i.e. my website) is not safe, while the content delivered to the user by CloudFlare is secure. While accessing the website works perfectly fine, logging in to the Control Panel is a major issue.

Now I am assuming that I will need an SSL certificate available on my server to secure the content source and thereby be able to log into the control panel using the https domain as opposed to the IP address or the http alternative.

Am I getting this correct or is there some way to log into the control panel using a shared CloudFlare SSL certificate?

Here is the console message I am referring to:

Mixed Content: The page at 'https://www.mysite.com/admin/login' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.mysite.com/index.php/admin/actions/users/login'. This request has been blocked; the content must be served over HTTPS.
1
  • 2
    Are you defining your Craft Site URL setting with http or https?
    – Brad Bell
    Jan 15 '17 at 4:40
1

I'd give Patrol plugin a try, just activate secure connections.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.