Jump to content

Where is "force ssl connection"?


Recommended Posts

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.

post-936294-0-98514900-1430288139_thumb.jpg

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

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.

post-936294-0-52702900-1430345417_thumb.jpg

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...