[Building Sakai] Sakai and HTTPS (Possible Error in some tools)

Branden Visser mrvisser at gmail.com
Tue Jun 21 19:08:43 PDT 2011


Hi Miguel,

Have you tried setting the proxyPort and proxyHost settings for the
connector in your tomcat server.xml? It's an additional step you could try
to cover more generated URLs. I remember hosting Sakai behind a secure proxy
with those settings with success.

See this for more info:

http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html#Apache_1.3_Proxy_Support

Have a look at step #4 under Apache 1.3 Proxy Support.

Cheers,
Branden

On Tue, Jun 21, 2011 at 10:05 AM, Miguel Carro Pellicer <
farreri.sakai at gmail.com> wrote:

> **
> I solved my problem with the function “HTTP REDIRECT" , but now my balancer
> redirects all http petitions to https.
>
> Did someone experienced the same problems? Regards, Miguel.
>
> El 21/06/2011 14:05, Miguel Carro Pellicer escribió:
>
> I think it's our problem, not Sakai's problem....because we made petitions
> through https and our HW balancer redirects through http internally....so
> some Sakai servlets gets http instead of secure.
>
> Anyone can give a clue or an opinion? Thanks in advance. M
>
> El 21/06/2011 13:31, Miguel Carro Pellicer escribió:
>
> Hi subscribers.
>
> This morning we switched our test servers from http to https.
>
> The SSL negotiation is done in the HW balancer, so we deployed tomcat over
> http port 80.
>
> I updated some sakai.properties( force.url.secure and serverUrl=https://
> ....)
>
> Now...Sakai works and i can Login, i can navigate through some tools but
> other tools throws a timeout, for example i have a lot of problems in
> site-manage and permissions-helper.
>
> Example:
>
> SITE-MANAGE:
>
>
>
> EDIT-SITE-INFORMATION WORKS
> EDIT-SITE-TOOLS WORKS
> ADDING-PARTICIPANTS TIMEOUT ERROR, REDIRECTS TO HTTP
>
>
>
> ¿Do you consider this a bug? Also happens with permissions in multiple
> tools.
>
> Thanks in advance, Miguel.
>
>
>
>
>
>  --
>
> [image: cid:image001.jpg at 01C9F98A.71C74E60]**** <http://www.samoo.es/>
>
> ** ** <http://www.samoo.es/>
>
> *Miguel Carro Pellicer*
>
> *Technical Manager - Director técnico*
>
> miguel.carro at samoo.es****
>
> +34 - 96 393 69 15****
>
> www.samoo.es****
>
> ** **
>
> Este  correo  y  sus archivos asociados son privados y confidenciales y va
> dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser
> el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga
> en  conocimiento del emisor. La difusión por cualquier medio del contenido
> de  este  correo podría ser sancionada conforme a lo previsto en las leyes
> españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter
> Personal.  No  se autoriza la utilización con fines comerciales o para su
> incorporación a ficheros automatizados de las direcciones del emisor o del
> destinatario.”****
>
> ** **
>
> This mail and its attached files are confidential and are only and
> exclusively intended to their addressee. In case you may receive this mail
> not being its addressee, we beg you to let us know the error by reply and to
> proceed to destroy it. The circulation by any mean of this mail could be
> penalised in accordance with the Spanish legislation. Is not allowed the use
> of both, the transmitter and the addressee’s, address with a commercial aim,
> or in order to be incorporated to automated data process or to any kind of
> files. ****
>
> ** **
>
> P Antes de imprimir este correo electrónico piense bien si es necesario
> hacerlo. El medioambiente es cosa de todos.****
>
> ** **
>
> ** **
>
>
> --
>
> [image: cid:image001.jpg at 01C9F98A.71C74E60]**** <http://www.samoo.es/>
>
> ** ** <http://www.samoo.es/>
>
> *Miguel Carro Pellicer*
>
> *Technical Manager - Director técnico*
>
> miguel.carro at samoo.es****
>
> +34 - 96 393 69 15****
>
> www.samoo.es****
>
> ** **
>
> Este  correo  y  sus archivos asociados son privados y confidenciales y va
> dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser
> el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga
> en  conocimiento del emisor. La difusión por cualquier medio del contenido
> de  este  correo podría ser sancionada conforme a lo previsto en las leyes
> españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter
> Personal.  No  se autoriza la utilización con fines comerciales o para su
> incorporación a ficheros automatizados de las direcciones del emisor o del
> destinatario.”****
>
> ** **
>
> This mail and its attached files are confidential and are only and
> exclusively intended to their addressee. In case you may receive this mail
> not being its addressee, we beg you to let us know the error by reply and to
> proceed to destroy it. The circulation by any mean of this mail could be
> penalised in accordance with the Spanish legislation. Is not allowed the use
> of both, the transmitter and the addressee’s, address with a commercial aim,
> or in order to be incorporated to automated data process or to any kind of
> files. ****
>
> ** **
>
> P Antes de imprimir este correo electrónico piense bien si es necesario
> hacerlo. El medioambiente es cosa de todos.****
>
> ** **
>
> ** **
>
>
> --
>
> [image: cid:image001.jpg at 01C9F98A.71C74E60]**** <http://www.samoo.es/>
>
> ** ** <http://www.samoo.es/>
>
> *Miguel Carro Pellicer*
>
> *Technical Manager - Director técnico*
>
> miguel.carro at samoo.es****
>
> +34 - 96 393 69 15****
>
> www.samoo.es****
>
> ** **
>
> Este  correo  y  sus archivos asociados son privados y confidenciales y va
> dirigido  exclusivamente  a su destinatario. Si recibe este correo sin ser
> el  destinatario del mismo, le rogamos proceda a su eliminación y lo ponga
> en  conocimiento del emisor. La difusión por cualquier medio del contenido
> de  este  correo podría ser sancionada conforme a lo previsto en las leyes
> españolas, Ley Orgánica 15/1999 de Protección de Datos de Carácter
> Personal.  No  se autoriza la utilización con fines comerciales o para su
> incorporación a ficheros automatizados de las direcciones del emisor o del
> destinatario.”****
>
> ** **
>
> This mail and its attached files are confidential and are only and
> exclusively intended to their addressee. In case you may receive this mail
> not being its addressee, we beg you to let us know the error by reply and to
> proceed to destroy it. The circulation by any mean of this mail could be
> penalised in accordance with the Spanish legislation. Is not allowed the use
> of both, the transmitter and the addressee’s, address with a commercial aim,
> or in order to be incorporated to automated data process or to any kind of
> files. ****
>
> ** **
>
> P Antes de imprimir este correo electrónico piense bien si es necesario
> hacerlo. El medioambiente es cosa de todos.****
>
> ** **
>
> ** **
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110621/fa9856ad/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 9255 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110621/fa9856ad/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3022 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110621/fa9856ad/attachment.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3022 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110621/fa9856ad/attachment-0001.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 17007 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110621/fa9856ad/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3022 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110621/fa9856ad/attachment-0002.jpe 


More information about the sakai-dev mailing list