[Deploying Sakai] Trouble running SAKAI using HTTPS
ottenhoff at longsight.com
Thu Feb 27 11:57:26 PST 2014
So you are running Sakai 2.9 on Tomcat 7.0? And then you have a front-end
load balancer like Nginx or Apache HTTPD in front of Tomcat that handles
So then your Tomcat has no idea that it is running over HTTPS. Your Tomcat
believes it is running over HTTP because Apache is talking to it over HTTP.
If yes to all of the above, then you need your front-end load balancer to
tell Tomcat that the forwarded connection is really happening over HTTPS
and not HTTP.
The easiest way to do this is by passing the X-Forwarded-Proto from the
load balancer to the Tomcat. More here:
On Thu, Feb 27, 2014 at 2:51 PM, Luis Camargo <luis at policymedical.com>wrote:
> I've recently started to use sakai and I'm facing a problem which I can't
> find the solution maybe some good soul from this list could help me.
> The problem is related to running sakai under HTTPS. Whenever I try to
> access the gradebook tool my browser shows me that some content was blocked
> due to they are not being requested using https even though I've set the
> property force.url.secure=*443* in default.sakai.properties.
> I've noticed that after the gradebook page is loaded an iframe is being
> rendered with src pointing to:
> Until here it's all fine, but inside this iframe all urls gets back to
> http, and the browser blocks the content saying "HTTPS security is
> compromissed by [urls for images, js, css]"
> I've tried to access the url from the iframe directly and I realized that
> it redirects me to a second url:
> Showing me that something is going wrong in this redirection and changes
> the protocol.
> Any ideas?
> I'm setting up a developer environment to try to debug, but I see there
> are a lot of companies using sakai under https what makes me think that it
> shouldn't be a code issue but a configuration/environment issue.
> Any help will be welcome.
> Best Regards,
> * --Luis Felipe*
> *Software Developer, PolicyMedical(tm)*
> http://www.policymedical.com | 1-(888) 697-6331 x 1
> Follow us! Facebook <https://www.facebook.com/PolicyMedical> | LinkedIn<http://www.linkedin.com/profile/view?id=1360231&trk=tab_pro>
> | Twitter <https://twitter.com/PolicyMedical> | Our blog<http://www.policymedical.com/blog_list>
> production mailing list
> production at collab.sakaiproject.org
> TO UNSUBSCRIBE: send email to
> production-unsubscribe at collab.sakaiproject.org with a subject of
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the production