Jump to content

Site Wide Ssl (Https)


DARKF3D3

Recommended Posts

I just bought an SSL certificate and I want to enable it site wide.

 

Enable SSl can cause any problems on the website o I can simply enable it without worry?

 

In case of problem I can easily deactivate it and come back to the previous situation?

Link to comment
Share on other sites

Well first thing you should do is install the certificate on your website, and confirm that it is working properly outside of Prestashop.

 

After the SSL certificate is installed on your server, create a simple test.html file on your server, and then try to view that test.html page using HTTPS and confirm it works properly, and that you do not receive any warnings.  Have your hosting provider assist you with this

 

Once you confirm the certificate is installed and working, then simply go in your back office and enable SSL.  If things do not work, you can always disable SSL in Prestashop

Link to comment
Share on other sites

1.6.0.9

Yes, you're right I didn't notice that after SSL enabled a new setting appear.

 

Now I'm trying solving various problem of resorce called with http insead of https.

 

 

The first it's with the "Block search module"

<form method="get" action="{$link->getPageLink('search', true)|escape:'html'}" id="searchbox">

 

This code apparently generate an http link:

{$link->getPageLink('search', true)|escape:'html'}

 

Do you know I can load it with https?

Edited by DARKF3D3 (see edit history)
Link to comment
Share on other sites

Ok, after searching on the forum i found a solution.

I changed:

{$link->getPageLink('search')|escape:'html'}

To:

{$link->getPageLink('search', true)|escape:'html'} 

I don't know exactly what the true does but seem working.

Link to comment
Share on other sites

I just notice another little problem.

Actually on my website SSL working well on almost the page, but not the page like product page, cms or similar where I addedd manually some inages into the content using a code like this:

<img src="http://www.mywebsite.it/img/photo.jpg" />

 

Which code I should use that it's compatible with http and also https?

 

If I change it to:

<img src="https://www.mywebsite.it/img/photo.jpg" />

And I disable the SSl one the website the images stop working?

Link to comment
Share on other sites

I don't know if I will disable SSL, I enable it from about few days, and I'm still testing. I want to see if it doesn't create any problem, like vistits or page per view decrease because slower or some other problems. So I'm wondering if there's a way to insert and image to mage it compatible with http and also https.

 

If i modify all the url to <img src="https://www.mywebsite.it/img/photo.jpg" /> and then disable the SSL the images works correcly?

 

I found this post about relative url: http://www.paulirish.com/2010/the-protocol-relative-url/

 

Link to comment
Share on other sites

I use full SSL, some nice stuff on it here, https://www.maxcdn.com/blog/ssl-performance-myth/

 

Has there been any noticeable impact on your website performance. I am currently on a powerful VPS, but still had to use the Page Cache module to get the TTFB down from 800-1200Ms to a more reasonable 200-400ms.

 

And I am worried full SSL might considerably slow down the website, with 65-80 elements loading on page.

Link to comment
Share on other sites

Not on my dedicated server Intel I5 with 32G RAM, Samsung SSD 850 EVO 1TB

 

SSL https://scrubscanada.ca/en/

 

Same server copy of site no SSL http://scrubscanada.ca/testaug/en/

 

Hi Bill,

 

thanks for your input. I tested both your sites and ran them through Gtmetrix, in first 2 (of 3) test runs, the SSL clocked in at about 7 seconds and the non-SSL at 4, but on the third run, they were same speed. Funny thing, the SSL site despite being slower has a better speed rating.

 

I think I'll do what you suggested, and set up a test site and run a series of test to compare.Or I can do a live test and have my live website on full SSL for a week, and see how it impacts performance. I assume there is not more to do than to flick the switch on the full-SSL mode in BO? And nothing prevents me from going back, right?

 

@ tdr170 - I think the same, but I am not sure if most customers even notice if the website is in full SSL or not. As long as checkout / payment is in SSL, do they really care about the rest of the site being https? I think I could accept 1 second slower, but if it starts bumping speed up and above the 4-5 seconds mark, it starts getting critical in my opinion.

Link to comment
Share on other sites

The very nature of the Internet is that data packets flow through many different paths. Not only are the packets running on different paths second to second, but even when they hit the same machine the data speed is processed depending on the amount of traffic being processed at that machine at that time. I would argue that it is a complete waste of time to use a third party web site to "attempt" to measure speed. Best just to make a copy of your site and judge for yourself.

 

As for just turning on SSL, I find that depending on your theme or modules you have installed there are usually problems with images and other assets not properly called and make the browser show SSL error messages. That is something you do not want customers to see, so you really need to set up a copy of your web site and test it. 

  • Like 1
Link to comment
Share on other sites

As for just turning on SSL, I find that depending on your theme or modules you have installed there are usually problems with images and other assets not properly called and make the browser show SSL error messages. That is something you do not want customers to see, so you really need to set up a copy of your web site and test it. 

 

I hadn't thought about that! I remember the search block creating a broken https message on checkout pages because in one of the previous 1.6. versions there was an error in the coding. I'll definitely work with a test version first then!

 

As for speed, I know it's difficult to get an accurate measurement, but to get a rough idea, I usually run 10 tests and use the median value. But yeah, I understand what you're saying.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...