Magento2 – pub/static Loading Only via HTTP

httpsmagento2ssl

I've set a Magento2 installation up with an SSL. I have this working fine in the backend of the website however all css/other calls in pub/static aren't being pulled through via HTTPS but HTTP.

I've tired to redeploy the static content but this doesn't seem to help.

Best Answer

What are your settings in Config->General->Web? What is "Secure Base URL for Static View Files"?

Chances are that your settings are requesting the files over http but your browser doesn't like the mix of secure and unsecure content.

Take a look in your browser console for error messages relating to this.