<p>I'd give <a href="https://github.com/selvinortiz/craft.patrol" rel="nofollow noreferrer">Patrol</a> plugin a try, just activate secure connections.</p>

CC BY-SA 3.0
2017-01-17T18:30:55.747Z
2017-02-02T09:40:01.637Z
2017-02-02T09:40:01.637Z
Leo Leoncio
<p>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. </p>

<p>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 <code>https</code> domain as opposed to the IP address or the <code>http</code> alternative. </p>

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

<p>Here is the console message I am referring to:</p>

<pre><code>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.
</code></pre>

CC BY-SA 3.0
2017-01-15T04:40:59.430Z
Are you defining your Craft Site URL setting with http or https?
Brad Bell
<request><https><ssl><cloudflare>
CloudFlare Shared SSL certificate forbids CraftCMS control panel sign in
# CloudFlare Shared SSL certificate forbids CraftCMS control panel sign in

(Asked by: username_0 on 2017-01-15)

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.

**Tags:** request, https, ssl, cloudflare
> **Comments:**
> **username_1**: Are you defining your Craft Site URL setting with http or https?  

---

## 1 answers

### Answer by username_2 on 2017-01-17. Score: 1

I'd give [Patrol](https://github.com/selvinortiz/craft.patrol) plugin a try, just activate secure connections.


---

