Post by leapDesign » Tue Dec 20, 2011 4:55 am

Hi,

I am using a fresh install of OpenCart v1.5.1.3, website is http://emmashome.co.uk/shop

Basically my site doesn't seem to be using SSL correctly. I know it is installed correctly on the server for the domain emmashome.co.uk (it was done by a 3rd party) and I have it turned on in OpenCart settings and the config.php file is as below:

Code: Select all

// HTTP
define('HTTP_SERVER', 'http://emmashome.co.uk/shop/');
define('HTTP_IMAGE', 'http://emmashome.co.uk/shop/image/');
define('HTTP_ADMIN', 'http://emmashome.co.uk/shop/admin/');

// HTTPS
define('HTTPS_SERVER', 'https://emmashome.co.uk/shop/');
define('HTTPS_IMAGE', 'http://emmashome.co.uk/shop/image/');
Am I missing something? the SSL works when I specifically enter https://... but not when I just visit the site URL. Do I need to specifically direct users to the https:// address or can I have them go to there automatically so the entire site is secured?

Thanks for any help

Newbie

Posts

Joined
Sat Dec 10, 2011 12:17 am

Post by uksitebuilder » Tue Dec 20, 2011 6:05 am

SSL only encrypts data on login, my account and checkout pages.

Looking at your store I can see that you have a custom template.

The login link works fine and is SSL. The register link has not been coded correctly and is non-SSL

Checkout is also secure on SSL

So, you just need to fix your Register link in your controller to add the 'SSL' parameter (similar to the login link code).

p.s. Love the Cookie Disclaimer ;)

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by victorj » Tue Dec 20, 2011 8:49 pm

It is possible to have your entire shop under SSL.
But first you have to adres some simple errors to have it fuction correctly.
Your logo is send throug http so that has to be corrected.
to check for ssl errors you can visit this site http://www.whynopadlock.com/ it will tell you where the errors are.

When everything works weel you can edit your htaccess and ad the following rule before the other rewrite conditions.

RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R=301,L]

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by billyggla » Tue Dec 20, 2011 9:43 pm

uksitebuilder wrote:SSL only encrypts data on login, my account and checkout pages.

Looking at your store I can see that you have a custom template.

The login link works fine and is SSL. The register link has not been coded correctly and is non-SSL

Checkout is also secure on SSL

So, you just need to fix your Register link in your controller to add the 'SSL' parameter (similar to the login link code).

p.s. Love the Cookie Disclaimer ;)
The register link is SSL..

That disclaimer.. :laugh:

Active Member

Posts

Joined
Mon Sep 20, 2010 7:05 am

Post by leapDesign » Thu Jan 05, 2012 12:48 am

Thank you all for your help and advice, saved me some time figuring this out.

Unfortunately I had to change the cookie disclaimer as it wasn't "professional" :-[

Newbie

Posts

Joined
Sat Dec 10, 2011 12:17 am

Post by victorj » Thu Jan 05, 2012 3:37 am

Your shop logo is still sent through http so SSl is not working correctly

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland
Who is online

Users browsing this forum: Amazon [Bot] and 41 guests