Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Installed with errors - Part of Site not secure


MyBookShop

Recommended Posts

An update on this old thread which never worked for me properly and I just lived with it.

I finally got this to fully work with images, I'm using CE Phoenix v1.0.7.9

*** First Back-up your website **

 

You should have setup your SSL certificates etc. and opened port 443 on your router or firewall before you do this.

Step 1.

Edit files : [root directory] /includes/configure.php

Change the line

const HTTP_SERVER = 'http://www.youwwebsitename.com';

to

const HTTP_SERVER = 'https://www.youwwebsitename.com';

Step 2.

Edit files : [root directory] /admin/includes/configure.php

Change these two lines...

 const HTTP_SERVER = 'http://www.youwwebsitename.com';

to 

const HTTP_SERVER = 'https://www.youwwebsitename.com';

and

const HTTP_CATALOG_SERVER = 'http://www.youwwebsitename.com';

to

const HTTP_CATALOG_SERVER = 'https://www.youwwebsitename.com';

 

Now the hard part. Do one of these two things (you or your host is most likely using Apache2)

(1) Your hosting company may have a single check box to click to rewrite http to https so check with them or peruse your control panel.

or

(2) Follow this tutorial to change your server to rewrite http to https

https://www.tecmint.com/redirect-http-to-https-on-apache/

Hint. Your .htaccess file is located in the [root directory] of your website.

 

Goodluck!

Link to comment
Share on other sites

  • 2 months later...

For error-free installation you need a server certificate and private key prior to installing SSL certificate. Login into WFM and you will be redirected to the homepage where you can click and install SSL certificate. Enter the domain name and input your certificate files, then click install

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...