SSL configuration troubles

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi,

I'm trying to configure SSL for my nopCommerce 3.70 site, but I'm running into some troubles.

When I started, my hosting company installed the SSL certificate and put a redirection rule for all http traffic to https in their firewall. This caused an issue with all images, nopCommerce was trying to load them from http on port 443 instead of https. I tried all combinations (at least I think so) of the Enable SSL and ForceSSLForAllPages settings, but was unable to resolve this.

So I asked my host to disable the redirect rule. They did, so the site was accessible both on http and https. I then enabled the Enable SSL setting on the shop. The Shop Url is set on the http url, and I set the Secured Url to the https one. When I opened the site on http it was running fine until I reach one of the secured pages (e.g. /cart or /login), then I was getting a "Too many redirects error" in Chrome (I tried both in regular mode and Incognito mode). After that I enabled the ForceSSLForAllPages setting and restarted the site. Now, the site is running correctly when I enter through the https url, but all http pages are giving the same "Too many redirects"  error.

I also tried setting a rewrite rule in web.config to redirect http to https, this didn't help either.

Any help appreciated...
7 years ago
Eventually, my host solved it by putting an additionale redirect in their firewall. I don't think this was a nopCommerce issue. Now it's working fine and secure :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.