Answers.Body: <p>The fix was to delete the content of the <code>/cpresources</code> folder and that did the trick.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-05T04:07:20.180Z
Answers.LastActivityDate: 2019-12-05T04:07:20.180Z
Answers.UserDisplayName: biko
Body: <p>I have a Craft 3 install on my client's Windows machine running Apache, PHP and MySQL.</p>
  
  <p>We purchased an SSL certificate but the main Admin login page (on SSL) keeps loading cpresources assets over HTTP which cause all of these CSS and JS assets to be blocked by the browser.  However, loading these assets over https in a browser works fine.</p>
  
  <p>The Site URL is indeed set to https.  I've tried to force change the URL in config/general.php using the siteUrl and baseCpUrl parameters.  I've also tried clearing Craft's cache and removed the www/storage/* and web/cpresources/* content but nothing works.</p>
  
  <p>I don't have a https redirect in .htaccess as I believe the force redirect was set up when the SSL was installed (I don't have how this step was done).</p>
  
  <p>Does anyone know how to solve this?  The admin page is totally broken and unusable at the moment.</p>
  
  <p>While the server setup is different, this issue might be related to the below.  However I wasn't able to solve my problem based on it.
  <a href="https://craftcms.stackexchange.com/questions/19383/craft-admin-assets-do-not-load-over-https-apache-cloudflare">Craft Admin assets do not load over https (Apache &amp; Cloudflare)</a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-16T15:19:45.237Z
Comments.Text: Biko. Did you find an answer? I'm suffering the same problem on a self hosted server from a client.
Comments.UserDisplayName: Harold Maduro
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-12T11:14:53.827Z
Comments.Text: @HaroldMaduro sorry I forgot how this was resolved!
Comments.UserDisplayName: biko
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-05T04:06:52.213Z
Comments.Text: @HaroldMaduro Hey hopefully not too late but the fix was to delete the content of the /cpresources folder and that did the trick.
Comments.UserDisplayName: biko
Tags: <control-panel><config><admin><https><ssl>
Title: Craft 3 Admin not loading cpresources files over HTTPS
ThreadText: # Craft 3 Admin not loading cpresources files over HTTPS
  
  (Asked by: username_0 on 2018-10-17)
  
  I have a Craft 3 install on my client's Windows machine running Apache, PHP and MySQL.
  
  We purchased an SSL certificate but the main Admin login page (on SSL) keeps loading cpresources assets over HTTP which cause all of these CSS and JS assets to be blocked by the browser. However, loading these assets over https in a browser works fine.
  
  The Site URL is indeed set to https. I've tried to force change the URL in config/general.php using the siteUrl and baseCpUrl parameters. I've also tried clearing Craft's cache and removed the www/storage/\* and web/cpresources/\* content but nothing works.
  
  I don't have a https redirect in .htaccess as I believe the force redirect was set up when the SSL was installed (I don't have how this step was done).
  
  Does anyone know how to solve this? The admin page is totally broken and unusable at the moment.
  
  While the server setup is different, this issue might be related to the below. However I wasn't able to solve my problem based on it.
  [Craft Admin assets do not load over https (Apache & Cloudflare)](https://craftcms.stackexchange.com/questions/19383/craft-admin-assets-do-not-load-over-https-apache-cloudflare)
  
  **Tags:** control-panel, config, admin, https, ssl
  
  > **Comments:**
  > **username_1**: username_0. Did you find an answer? I'm suffering the same problem on a self hosted server from a client.  
  > **username_0**: @username_1 sorry I forgot how this was resolved!  
  > **username_0**: @username_1 Hey hopefully not too late but the fix was to delete the content of the /cpresources folder and that did the trick.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-12-05. Score: 3 | Accepted answer
  
  The fix was to delete the content of the `/cpresources` folder and that did the trick.
  
  
  ---
  
  