peterzh Posted April 29, 2015 Share Posted April 29, 2015 (edited) Hi everybody. I clicked the link in "Preferences->General->Enable SSL", then the back is in "https:...“. But I can not find "force ssl connection" in that page. So the front is still "http:...". Where is it? I use prestashop 1.6.0.14 Edited April 29, 2015 by peterzh (see edit history) Link to comment Share on other sites More sharing options...
peterzh Posted April 29, 2015 Author Share Posted April 29, 2015 (edited) Text is missing. because I type "https:||" Edited April 29, 2015 by peterzh (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted April 29, 2015 Share Posted April 29, 2015 You have to enable ssl first. Then the option will show. Link to comment Share on other sites More sharing options...
peterzh Posted April 29, 2015 Author Share Posted April 29, 2015 (edited) You have to enable ssl first. Then the option will show. I click the link,"Please click here to use HTTPS protocol before enabling SSL", more than one time, nothing happens. Just the address of back office starts with "https". NO "Force ssl connection" displayed. OK, I found in mysql, the table ps_configuration, value of PS_SSL_ENABLED is 0, I set it to 1. "Force ssl connection" displayed. But then, the front pages show "ERR_TOO_MANY_REDIRECTS". Since it doesn't work, I turn off the "Enable SSL". then there is only the link there, "Please click here to use HTTPS protocol before enabling SSL". Both of the "Enable SSL" and "Force ssl connection" buttons are disappeared. BTW, I use self signed SSL certificate. Edited April 29, 2015 by peterzh (see edit history) Link to comment Share on other sites More sharing options...
peterzh Posted April 29, 2015 Author Share Posted April 29, 2015 I click the link,"Please click here to use HTTPS protocol before enabling SSL", more than one time, nothing happens. Just the address of back office starts with "https". NO "Force ssl connection" displayed. OK, I found in mysql, the table ps_configuration, value of PS_SSL_ENABLED is 0, I set it to 1. "Force ssl connection" displayed. But then, the front pages show "ERR_TOO_MANY_REDIRECTS". Since it doesn't work, I turn off the "Enable SSL". then there is only the link there, "Please click here to use HTTPS protocol before enabling SSL". Both of the "Enable SSL" and "Force ssl connection" buttons are disappeared. BTW, I use self signed SSL certificate. OK. I resolved it. In the apache conf file of the host, such as httpd.conf or httpd-vhosts.conf, make sure to add the line in BOLD. <VirtualHost *:443> DocumentRoot ...... ServerName shop.yourdomain.com ServerAlias shop.yourdomain.com RequestHeader set "X-Forwarded-Proto" "https" The button comes. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now