Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-17T18:30:55.747Z
Answers.LastActivityDate: 2017-02-02T09:40:01.637Z
Answers.LastEditDate: 2017-02-02T09:40:01.637Z
Answers.UserDisplayName: Leo Leoncio
Body: <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>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-15T04:40:59.430Z
Comments.Text: Are you defining your Craft Site URL setting with http or https?
Comments.UserDisplayName: Brad Bell
Tags: <request><https><ssl><cloudflare>
Title: CloudFlare Shared SSL certificate forbids CraftCMS control panel sign in
ThreadText: # 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.
  
  
  ---
  
  