SSL Infinate Loop

Discussion regarding Joomla! 2.5 Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
thesinger313
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Oct 14, 2011 2:09 pm
Location: Merseyside (UK)

SSL Infinate Loop

Post by thesinger313 » Tue Nov 25, 2014 9:38 am

Sorry if this has been asked before, I have tried to search the forum but it seems like the MySql times out.

I have found various posts via google but none of them have resolved my issue.

I have a Joomla / Virtuemart website built upon Parallel Plesk 12 Windows.
I have installed the SSL in hosting settings but applying Force SSL causes redirect loop.

I have tried setting $Live_Site - rewrites things like /administration out of the URL breaking the admin access
I have tried URL rewriting http to https in web.config which also causes a redirect loop.
I have tried an SSL plugin designed to get around this joomla bug, this causes redirect loop.

SSL in sensative areas (Virtuemart setting) works fine but switching from cart (https) to continue shopping (http) causes problems

Any advice. I must have SSL for the entire site to be PCI compliant

Thanks.

User avatar
sitesrus
Joomla! Ace
Joomla! Ace
Posts: 1431
Joined: Mon Nov 12, 2012 10:48 pm

Re: SSL Infinate Loop

Post by sitesrus » Tue Nov 25, 2014 5:59 pm

Check if you're doing port forwarding from 80 -> 443, check anything in your .htaccess (if you're using one) is setup to force SSL. Check if you have any reverse proxy like cloudflare setup and/or using SSL...
I like working with Joomla :)

User avatar
thesinger313
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Oct 14, 2011 2:09 pm
Location: Merseyside (UK)

Re: SSL Infinate Loop

Post by thesinger313 » Wed Nov 26, 2014 10:38 am

No reverse proxy, this is setup on my own windows VPS with Plesk
also no htaccess as its IIS so using web.config instead. this is the standard joomla web.config just for rewriting URL's

Could URL rewrite be broken when SSL enabled? I havn't tested switching off SEF URLs in joomla with SSL on!

User avatar
thesinger313
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Oct 14, 2011 2:09 pm
Location: Merseyside (UK)

Re: SSL Infinate Loop

Post by thesinger313 » Wed Nov 26, 2014 10:42 am

That would be a no then.
turned off URL rewriting in joomla and set force SSL... Still Infinate Loop!

so its not web.config causing the problem.

User avatar
sitesrus
Joomla! Ace
Joomla! Ace
Posts: 1431
Joined: Mon Nov 12, 2012 10:48 pm

Re: SSL Infinate Loop

Post by sitesrus » Wed Nov 26, 2014 1:55 pm

If it's your own setup/local box have you configured it with SSL properly and checked your conf or subsequent domain confs? You need to confirm you have SSL setup properly, no redirects/forwarding, and that poth ports 80, 443 are being listened on.

What this is or looks like on IIS I do not know, I do know apache/linux.

And you have a self signed certificate created and setup?

Often people use web server confs to forward so if that's happening sometimes you can easily get caught in a redirect loop.
I like working with Joomla :)

User avatar
thesinger313
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Oct 14, 2011 2:09 pm
Location: Merseyside (UK)

Re: SSL Infinate Loop

Post by thesinger313 » Tue Dec 02, 2014 2:39 pm

Plesk manages the IIS it self and all seems good from that side of things.
Its not a self signed cert. its an officially purchased one and that is all installed and configured fine as plesk throws a fit when it is not.

This issue definately seems with joomla and when doing some searches seems quite wide spread.

User avatar
thesinger313
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Oct 14, 2011 2:09 pm
Location: Merseyside (UK)

Re: SSL Infinate Loop

Post by thesinger313 » Tue Dec 09, 2014 10:36 am

are there any other suggestions on this. I have seen posts from google searches about people having this issue.

it has to be a joomla thing as it works fine with virtuemart but entire site breaks it.
Thanks

User avatar
thesinger313
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Oct 14, 2011 2:09 pm
Location: Merseyside (UK)

Re: SSL Infinate Loop

Post by thesinger313 » Thu Dec 11, 2014 10:29 am

I am now in serious need of help on this one.
My client will now be charged a 30 pence fine for every card transaction through the website and a standard monthly fine for being none PCI Compliant.

I have tried.
Force SSL in plesk (not authorized to view this resource)
Native Joomla Forse SSL (redirect loop)
SSL redirect plugin (redirect loop)
Force SSL in web.config file (redirect loop)
ReReplacer Plugin to replace all "http://" to "https://" (did nothing)

SSL Works great in the admin area using standard joomla settings. "HTTPS://" turns green in the address bar and all is great... this is a joomla front end issue and i am really in the dog muck if i cannot get this sorted.

there must be SOMETHING causing this.

User avatar
thesinger313
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Oct 14, 2011 2:09 pm
Location: Merseyside (UK)

[SOLVED]Re: SSL Infinate Loop

Post by thesinger313 » Thu Dec 11, 2014 11:03 am

FOUND THE ISSUE!!! I have spent DAYS on this.
Virtueplanet One Page Checkout plugin! I saw a post on virtuemart forums.

Disabling that plugin made my site work flawlessly.
Thanks to those who helped.


Locked

Return to “Performance - Joomla! 2.5”