cancel
Showing results for 
Search instead for 
Did you mean: 

Share and insecure content

haffi67
Champ in-the-making
Champ in-the-making
Hi,

I've enabled SSL on Tomcat, but browsers warn me that some content is being delivered insecurely. I've found out that it is the file:
http://www.alfresco.com/assets/images/logos/community-4.0-share.png
that is being delivered that way. After some searching I found this file:
http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/slingshot/source/java...
where the getServerPath function is being used in line 84 to determine whether the server is using http or https. The URL I'm requesting starts with https, so the problem lies elsewhere. Does anyone have an idea how I can configure the server so that getServerPath returns an https URL?
3 REPLIES 3

scouil
Star Contributor
Star Contributor
Is there any chance that you access it through a proxy?
If that's the case, see if this proxy doesn't translate the URL into a http one, meaning that even if you start a https request, the server receives a http one.

haffi67
Champ in-the-making
Champ in-the-making
I solved the problem simply by removing that line from the messages.js file (which is referenced in resources.get.html.ftl)

scouil
Star Contributor
Star Contributor
That picture was pointing to alfresco's servers.
I think they use this link in order to compile stats on users using Alfresco (How many users use alfresco daily around the world. What portion of the servers is using https, etc.).

So, that's perfectly your right to remove this line, that's part of how awesome open-source is.
But if you could manage to fix the http(s) problem and bring the link back it would be nice to them Smiley Happy

Regards,