I saw my site was checking out over http not https, so I went to config settings and under the web tab, I entered https to both secure and unsecure.

Turns out my ssl has expired and now my entire site is down, front and back end. How do I revert the settings if I can't access back end?

  • check phpmyadmin in your db core_config_data table it http:// or https:// – Magento 2 Nov 27 '15 at 15:46
  • Would altering the .htaccess file fix my problem? – Bbc Nov 27 '15 at 15:56
  • No, you have to change the base url configuration in the database – Fabian Schmengler Nov 27 '15 at 16:02

Run the following SQL query in your database (for example in phpmyadmin) to revert the change:

update core_config_data set value=replace(value,'https','http') where path like '%base_url';

If you use table prefixes, add this prefix to core_config_data accordingly.

|improve this answer|||||
  • ....perfect.... – Bbc Nov 27 '15 at 17:53

If your ssl certificate is expired it doesn't mean your site is offline. You can bypass the browser warning on expired certificate and login to your site.

|improve this answer|||||
  • Turns out there was never ssl installed on the site, so it through a page not found error – Bbc Nov 27 '15 at 19:37

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.