Jump to content

SSL Basics


Jimbola

Recommended Posts

Hi all

I have some questions on SSL that i'm hoping someone can answer they are;

- What does the enable SSL button in the admin area do?
- Does SSL work with every theme?
- Are all the themes in the PrestaStore esp Black and White test to run OK with SSL?
- Should SSL be applied to all pages?

All help is greatly appreciated?

J

Link to comment
Share on other sites

The "Enable SSL" option on the Preferences tab makes the contact page, authentication pages and checkout pages use https instead of http. You must ask your host to install an SSL certificate for you, otherwise it will not work.

It is unnecessary to apply SSL to all pages. That's why PrestaShop only applies them to the contact page, authentication pages and checkout pages.

SSL should work with all PrestaShop v1.2.5 and PrestaShop v1.3 themes. It will not work with PrestaShop v1.1 and earlier themes. I think the Black and White theme works with SSL, except when you try to apply the SSL to all pages.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

Can anyone help me, I am a little confused about my ssl cert.

I have a ssl cert and enabled the ssl in the back end.

The Prestashop is loaded in a non secure folder Do I need to upload any of the modules ie payment module in the secure folder?

Any advice would be great.

Thanks,

Link to comment
Share on other sites

the ssl cert should secure the site not a folder, couple of things to remember unless you have a wildcard ssl cert, the cert will only be valid for www.yourname.com or yourname.com not both,


to test the cert, just put an item in your cart and go to checkout, it should redirect to a https page

Link to comment
Share on other sites

have you a cert installed, if so what happens, when you go to https://yoursite.com, does the site show ok, as a secure site, you will probably get insecure content warnings but this is standard for prestashop, Then drop back to http://yoursite.com add an item to your cart and go through the checkout process

when you get to authentication.php prestashop should switch to https mode, showing your site as secure

Link to comment
Share on other sites

Thanks for your help however I think my host manages SSL slightly different. This is what I am advised to do below:

!Once you have opened your FTP client, enter your FTP details and connect. You should then see a new folder within your webspace called "htdocs_secure". This is where your secure files must go. Upload an example page if you wish and visit https://yourdomain.com/yourpage.html you should notice your browser showing a padlock icon or something similar to indicate you are on a secure connection.

Whether you have purchased SSL for your main domain name or a subdomain you will need to ensure you visit the site via https:// rather than http://. For example

https://shop.example.com
https://example.com

If you visit your site address without the https:// you will see the contents of the "htdocs" folder rather than "htdocs_secure", whether there is anything in it or not."

Should my whole site be uploaded to the folder? And do I have to change the code to makesure the whole site is https?

Thanks for your help

Link to comment
Share on other sites

I am not an expert, but you you can redirect the index.php file of the 'http://' to the index file of your secured folders:


<?php
header("Location: https://www.yourdomain.com/index.php");
?>


Another choice is, ask from you web hosting provider to set the use of a single directory for housing the SSL and non-SSL contents.

@bartman: "you will probably get insecure content warnings but this is standard for prestashop". I hope the this will be not the case when I'll buy a cert.
Link to comment
Share on other sites

  • 4 months later...
Thanks for your help however I think my host manages SSL slightly different. This is what I am advised to do below:

!Once you have opened your FTP client, enter your FTP details and connect. You should then see a new folder within your webspace called "htdocs_secure". This is where your secure files must go. Upload an example page if you wish and visit https://yourdomain.com/yourpage.html you should notice your browser showing a padlock icon or something similar to indicate you are on a secure connection.

Should my whole site be uploaded to the folder? And do I have to change the code to makesure the whole site is https?

Thanks for your help


I am running also into this with my provider. They also have a "private_html" folder. But i dont think that you can copy only the necessary files. That will most probably not work, because of missing paths and other requirements.
I have asked my provider for a solution.
Link to comment
Share on other sites

Thanks for your help however I think my host manages SSL slightly different. This is what I am advised to do below:

!Once you have opened your FTP client, enter your FTP details and connect. You should then see a new folder within your webspace called "htdocs_secure". This is where your secure files must go. Upload an example page if you wish and visit https://yourdomain.com/yourpage.html you should notice your browser showing a padlock icon or something similar to indicate you are on a secure connection.

Whether you have purchased SSL for your main domain name or a subdomain you will need to ensure you visit the site via https:// rather than http://. For example

https://shop.example.com
https://example.com

If you visit your site address without the https:// you will see the contents of the "htdocs" folder rather than "htdocs_secure", whether there is anything in it or not."

Should my whole site be uploaded to the folder? And do I have to change the code to makesure the whole site is https?

Thanks for your help


I dont know if your problem is still relevant, but i found a solution to you shared hosting and SSL problem:
http://www.prestashop.com/forums/viewthread/78599
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...