cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco cmis behind https proxy?

aweber1nj
Champ in-the-making
Champ in-the-making
Has anyone gotten /alfresco/cmisatom to work properly behind an HTTPS proxy?

Using a connection URL with https:// the session appears to get created, but then any subsequent call (like a session.getObjectByPath( ) for a known, root folder) fails, and it appears that the client (Apache Chemistry 0.7 with Alfresco Extension) is sending the request as HTTP not HTTPS.

I can successfully browse /alfresco (explorer), and I can successfully use Share via the https proxy with all my browsers.  Something seems strange with the opencmis library that it's not sticking with the secured protocol and the proxy-server is basically sending back a 302 to tell it that it's got the wrong address (which it generally true).

Thanks for any tips.
-AJ
2 REPLIES 2

sglover
Champ in-the-making
Champ in-the-making
This is probably because OpenCMIS, by default, generates absolute urls in the service document based on the incoming request. Behind a proxy, these generated urls will be incorrect. See http://www.mail-archive.com/dev@chemistry.apache.org/msg01759.html for an approach to overcoming this.

aweber1nj
Champ in-the-making
Champ in-the-making
Great info. Thank you.

Do you know if we can use the filter referenced safely in the alfresco webapp?
I have to double check my 4.0 install, because I somehow remember it having opencmis 0.6 installed (if that's being used at all).   I do pass the headers already, so it would be perfect if I just had to configure the filter.

Thanks again.