So I took the plunge.... Now SSL won't work :(

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
So I thought I'd take the plunge and upgrade from 3.7 to 3.8 before I buy Shipping Director....  However now when I enable force SSL on my site it won't load and comes up with 'ERR_TOO_MANY_REDIRECTS'  Any suggestions??

Cheers,
John
7 years ago
If you have access to your database, can you check your "Store" DB table, and send over a screenshot?

Also, are you on shared hosting or cloud hosting? :)
7 years ago
Hi, thanks for the fast reply...  I have just reset SslEnabled to 0 to get on my site, everything in the table looks as i'd expect...

I'm on cloud hosting, now you mention it I should probably uncomment '<add key="Use_HTTP_X_FORWARDED_PROTO" value="true" />' in web.config.... :)
7 years ago
Sometimes Cloud hosting can cause problem if SSL is hosted behind load-balancer. :)

As a side note, see my YouTube tutorial on how to get free (and trusted) SSL: https://www.youtube.com/watch?v=ScCO9uZIVv0. Hope it's not too late. :D
7 years ago
john.dent wrote:
So I thought I'd take the plunge and upgrade from 3.7 to 3.8 before I buy Shipping Director....  However now when I enable force SSL on my site it won't load and comes up with 'ERR_TOO_MANY_REDIRECTS'  Any suggestions??

Cheers,
John


I usually only ever see that particular error whenever a site has bindings configured for the https AND when the same site is configured as a redirect. Ensure that, in IIS, you have the https(on port 443) bound to your site in bindings and that this site is not also configured as a redirect to your actual site.

Also, maybe you checked the box in admin area to Force SSL and also added your own new redirect rule to your web.config? This might cause the browser to see it as "too many redirects"...
7 years ago
Thanks for the replies.

What I did was set SslEnabled to '0' directly in the DB, then uncomment '<add key="Use_HTTP_X_FORWARDED_PROTO" value="true" />' in web.config, restarted the nopCommerce application then enabled SSL...  This seemed to work for me.

(I think the main issue i had was i forgot to restart the application in between uncommenting the line in web.config and enabling SSL in nop)

Thanks again..
7 years ago
Check your .htaccess file and browser for cyclic or too many redirection codes.

If there are many redirection codes, then you must clean your .htaccess file.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.