Hello!
I have installed Alfresco Community Edition 201901 GA (via Docker) and are serving it over SSL using HAproxy reverse proxy. However, my page does not show as secure - the browser complains I have insecure content on my page. The culprit is "http://www.alfresco.com/assets/images/logos/community-5.2-share.png" which is being loaded, but I do not know by what.
How can I disable this? I would not mind the tracking, but the problem is that it`s preventing me from having the page shown as secure.
Setting heartbeat.enabled=false does not have any effect.
Can anyone help?
Solved! Go to Solution.
Hello jbrasil... sure...
Here you are...
https://mega.nz/#!H4N1QYIB!yajjCVMUAXFZm-sU0fUsJ1OLFmbCWElSJfsoyrWU0_8
First backup the original file... and tell me if it works for you.
Regards.
Again, I do not need it to be necessarily disabled - just to make it request https. If that is not possible, then yes, it would be OK to disable it to make sure all of the content served by the reverse proxy is secured (and this is the only insecure link).
Any ideas?
I know about this old blog post on the topic Removing the Tracking Image from Alfresco
But I don't know if it still aplies for the version you are using.
If not, I think the only thing you need to know is to adapt it.
Thanks Douglas, but I have seen that blog post. However, it`s very old and it references another link (www.alfresco.com/assets/images/logos/community-4.0-share.png) instead of what I am seeing. Also, on the GitHub page of the Tracking Removal project, it is mentioned that it has only been tested with these versions: Alfresco 4.2b/4.2c as well as 5.0/5.1 community. Remember that this was also before Docker.
Is there really no file that I can modify to at least get the tracking image to be requested via HTTPS and not HTTP?
Hello.
Well, you came to the conclusion I mentioned... you will have to use that blog post as an idea, and adapt it to the new version. I really believe you just have to follow the described steps, of course, using the source code for your current version, and check what has been changed.
And about using Docker or not, you will have to create an extension project anyway, using JAR or AMP as the result, and then create your custom image containing the JAR/AMP applied into it.
I wish I had the time to try it out for you, but right now, I have too much on my lap already.
I hope someone else can help you with this.
I think that in the end this is beyond my understanding.
In the end, I opened a bug here: [ALF-22090] Tracking Logo in Community Edition 201901 GA (Docker) is hard-coded to HTTP - Alfresco J...
Hopefully this will be fixed in a future version.
Chrome has announced that it will start blocking mixed content by default, so this issue has just got much more serious.
I really hope that something can be done about this hard-coded HTTP link in the next GA version of Alfresco Community. Does anyone has any new about this?
I have this problem too
Hi r_aurelian,
I have this problem too
Got the solution?
Thanks a lot!
Zé Brasil
Hello...
www.alfresco.com/assets/images/logos/community-5.2-share.png is a white pixel that Alfresco uses to track Community installations. More info here... https://hub.alfresco.com/t5/alfresco-content-services-hub/community-edition-usage-tracking/ba-p/2900...
It gives problems with most browsers since they consider it insecure.
Here a way to solve the problem (a little dirty but it works) on CE 201901GA:
In share.war/WEB-INF/classes/org/alfresco/web/scripts/MessagesWebScript.class, remove the url by editing Constant_Utf8 in the class.
Good luck.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.