I have an Alfresco server available via port 8080 (HTTP) and 443 (HTTPS), with a web proxy redirecting URLs ending with /alfresco
to port 8080.
In my CMIS client, I specified the HTTPS CMIS URL.
PROBLEM: Despite this, I notice with a network analyzer that most of the CMIS traffic happens on 8080, unencrypted.
The trick here is that in the CMIS protocol, the response to a CMIS request contains more URLs, that are then used to perform all actions you want.
The first request (on port 443) generates a response that contains a long list of further URLs, all on port 8080.
The solution is to modify the Tomcat configuration file
server.xml
in the section concerning port 8080, and add the following parameters:Then after a server restart, in the CMIS responses, the
href
are finally correct: