<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: First steps using Alfresco - Port mappings/changes in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21320#M9389</link>
    <description>&lt;P&gt;I have a similar problem with&amp;nbsp; an Apache2 as proxy in front of Tomcat. The connection to &lt;STRONG&gt;&lt;A href="https://www.mydomain.xy/alfresco" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.mydomain.xy/alfresco&lt;/A&gt;&lt;/STRONG&gt; works with HTTPS and also the &lt;STRONG&gt;&lt;EM&gt;admin console&lt;/EM&gt;&lt;/STRONG&gt;. But after the login screen as a user I get an error message (&lt;STRONG&gt;Something's wrong with this page...&lt;/STRONG&gt;) and from there I can go back to the login screen by click on "Back to my Dashboard" . Share can not be reached.&lt;/P&gt;&lt;P&gt;I have customized the &lt;STRONG&gt;&lt;EM&gt;alfresco-global properties&lt;/EM&gt;&lt;/STRONG&gt; as described in the documentation (alfresco.host, alfresco.port, alfresco.protocol, share.host, share.port, share.protocol).&amp;nbsp;&lt;A title="Configuring SSL for a production environment" href="http://(https://docs.alfresco.com/5.0/tasks/configure-ssl-prod.html)" target="_blank" rel="noopener nofollow noreferrer"&gt;Configuring SSL for a production environment&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I don't know if I have to do point 1 of the documentation (&lt;SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Set your proxy to forward the following URL extensions to Alfresco&lt;/EM&gt;&lt;/STRONG&gt;)&amp;nbsp;&lt;/SPAN&gt;and if I have to change an entry in the &lt;STRONG&gt;&lt;EM&gt;share-config-custom.xml&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSRF &lt;/STRONG&gt;Token Filter in&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;share-config-custom.xml &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;disabled.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 19:01:58 GMT</pubDate>
    <dc:creator>MikeW2</dc:creator>
    <dc:date>2020-02-03T19:01:58Z</dc:date>
    <item>
      <title>First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21312#M9381</link>
      <description>Hi,i am a kind of newby to alfresco. i want to configure alfresco within a debian 8.9 subsystem and use alfresco 5.2 community.Now i want to change Ports from 8080 to 80 or 443 as i want to use it from external with an le cert.But i didn't understand yet, where i have to trigger configuration to wor</description>
      <pubDate>Tue, 03 Oct 2017 20:18:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21312#M9381</guid>
      <dc:creator>chri_s</dc:creator>
      <dc:date>2017-10-03T20:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21313#M9382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The right way to do that is really to use a reverse proxy in front of your Alfresco instance.&lt;/P&gt;&lt;P&gt;Apache or Nginx are known to work really well with Alfresco and you will for sure find a lot of documentation on how to do it.&lt;/P&gt;&lt;P&gt;It is also possible to setup tomcat to use non default ports but I wouldn't recommand it though if that's for a "non-test system". But if you want to go down that road you will need to change the tomcat/conf/server.xml file and change ports defined in the "Connector" element (8080=&amp;gt;80 &amp;amp; 8443=&amp;gt;443). One of the Connector will be defined as an https connector. For this one, you'll also need to specify the keystore and truststore to use in order for SSL to work. As a consequence, you'll need to setup the appropriate keystores, either using keytool, or using the default one that are shipped with Alfresco (and of course are not considered secured).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But really setting up a reverse proxy is what I would advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both case, you' then need to edit the alfresco-global.properties files in order to change the properties bellow:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;alfresco.host&lt;/P&gt;&lt;P&gt;alfresco.port&lt;/P&gt;&lt;P&gt;alfresco.context&lt;/P&gt;&lt;P&gt;alfresco.protocol&lt;/P&gt;&lt;P&gt;share.host&lt;/P&gt;&lt;P&gt;share.port&lt;/P&gt;&lt;P&gt;share.context&lt;/P&gt;&lt;P&gt;share.protocol&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 06:57:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21313#M9382</guid>
      <dc:creator>alxgomz</dc:creator>
      <dc:date>2017-10-04T06:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21314#M9383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexandre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your very helpful post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then i want to give it a try using a reverse proxy. Can I use an external one - such like in a Sophos UTM? I am asking because i tried it already starting with &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ecm.tld.net" rel="nofollow noopener noreferrer" target="_blank"&gt;https://ecm.tld.net&lt;/A&gt;&lt;SPAN&gt; to work fine with the first site. When trying to acess /share and subpanels especially login it doesn't work with ecm.tld.net, 443 and https in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;alfresco-global.properties (both alfresco and share). May you would give me an idea, how to configure it in this environment to run smooth?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Chris&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 09:43:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21314#M9383</guid>
      <dc:creator>chri_s</dc:creator>
      <dc:date>2017-10-04T09:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21315#M9384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know SOPHOS UTM but if your proxy supports either http, https or ajp to connect to a tomcat backend server then it should work. Of course http and ajp are usually more targeted at local networks. if you use an external proxy you may want to use https instead, and then you're back to the point where you want a tomcat https connector with a proper certificate.&lt;/P&gt;&lt;P&gt;Regarding the issue you talk about... I'm sorry I don't really understand what you mean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 10:11:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21315#M9384</guid>
      <dc:creator>alxgomz</dc:creator>
      <dc:date>2017-10-04T10:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21316#M9385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It supports either http or https and stands in front of the network. Therefore i could access alfresco by http.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But trying to access leads to either a redirect to ecm.internal:8080 or gives me a login fault, which let me ask how&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;alfresco-global.properties has to be defined in a proper way to solve reverse proxy acess properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 10:44:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21316#M9385</guid>
      <dc:creator>chri_s</dc:creator>
      <dc:date>2017-10-04T10:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21317#M9386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that's what I was mentioning in my first post. You should configure alfresco-global.properties file as follow:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #727174; border: 0px;"&gt;alfresco.host=virtualhost_used_on_the_proxy&lt;/P&gt;&lt;P style="color: #727174; border: 0px;"&gt;alfresco.port=443&lt;/P&gt;&lt;P style="color: #727174; border: 0px;"&gt;alfresco.context=alfresco&lt;/P&gt;&lt;P style="color: #727174; border: 0px;"&gt;alfresco.protocol=https&lt;/P&gt;&lt;P style="color: #727174; border: 0px;"&gt;share.host=virutal&lt;SPAN style="background-color: #f6f6f6;"&gt;host_used_on_the_proxy&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #727174; border: 0px;"&gt;share.port=443&lt;/P&gt;&lt;P style="color: #727174; border: 0px;"&gt;share.context=share&lt;/P&gt;&lt;P style="color: #727174; border: 0px;"&gt;share.protocol=https&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The above assumes you're using an SSL enabled virtual host on the proxy (regardless of the protocol you use to connect the proxy to the tomcat backend).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 11:43:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21317#M9386</guid>
      <dc:creator>alxgomz</dc:creator>
      <dc:date>2017-10-04T11:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21318#M9387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can access for example &lt;A href="https://ecm.tld.net," rel="nofollow noopener noreferrer"&gt;https://ecm.tld.net,&lt;/A&gt;&amp;nbsp;after whole configuration i also can access&amp;nbsp;&lt;A href="https://ecm.tld.net%2C/" style="color: #2989c5; text-decoration: underline;" rel="nofollow noopener noreferrer"&gt;https://ecm.tld.net&lt;/A&gt;/share/page/ but when trying to login i got an error something is wrong, which i can declare as a problem with login. So it seems as I need to change somethings in background with share-login?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 14:05:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21318#M9387</guid>
      <dc:creator>chri_s</dc:creator>
      <dc:date>2017-10-04T14:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21319#M9388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for coming back to you that late, it's been pretty busy days over here!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, that depends on the error you're seeing, we would need logs to know what's going on.&lt;/P&gt;&lt;P&gt;But if you are not using AJP to proxy, it's likely to be the CSRF protection that is bothering you.&lt;/P&gt;&lt;P&gt;You can disable CSRF completely (which is of course not recommended), or you can configure it&amp;nbsp;to let your domain go through.&lt;/P&gt;&lt;P&gt;1 -&amp;nbsp;Disable CSRF:&amp;nbsp;Uncomment the CSRF bit in &lt;CODE&gt;tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml&lt;/CODE&gt; (should be there by default)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - Configure CSRF:&amp;nbsp;Add&amp;nbsp;the CSRF section bellow to the&amp;nbsp;&lt;CODE&gt;tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml&lt;/CODE&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy" replace="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;properties&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;token&amp;gt;Alfresco-CSRFToken&amp;lt;/token&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;referer&amp;gt;&lt;A&gt;https://ecm.tld.net&lt;/A&gt;/.*&amp;lt;/referer&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;origin&amp;gt;&lt;A&gt;https://ecm.tld.net&lt;/A&gt;&amp;lt;/origin&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/properties&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/config&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If your issue is different please share the logs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 19:32:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21319#M9388</guid>
      <dc:creator>alxgomz</dc:creator>
      <dc:date>2017-10-09T19:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21320#M9389</link>
      <description>&lt;P&gt;I have a similar problem with&amp;nbsp; an Apache2 as proxy in front of Tomcat. The connection to &lt;STRONG&gt;&lt;A href="https://www.mydomain.xy/alfresco" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.mydomain.xy/alfresco&lt;/A&gt;&lt;/STRONG&gt; works with HTTPS and also the &lt;STRONG&gt;&lt;EM&gt;admin console&lt;/EM&gt;&lt;/STRONG&gt;. But after the login screen as a user I get an error message (&lt;STRONG&gt;Something's wrong with this page...&lt;/STRONG&gt;) and from there I can go back to the login screen by click on "Back to my Dashboard" . Share can not be reached.&lt;/P&gt;&lt;P&gt;I have customized the &lt;STRONG&gt;&lt;EM&gt;alfresco-global properties&lt;/EM&gt;&lt;/STRONG&gt; as described in the documentation (alfresco.host, alfresco.port, alfresco.protocol, share.host, share.port, share.protocol).&amp;nbsp;&lt;A title="Configuring SSL for a production environment" href="http://(https://docs.alfresco.com/5.0/tasks/configure-ssl-prod.html)" target="_blank" rel="noopener nofollow noreferrer"&gt;Configuring SSL for a production environment&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I don't know if I have to do point 1 of the documentation (&lt;SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Set your proxy to forward the following URL extensions to Alfresco&lt;/EM&gt;&lt;/STRONG&gt;)&amp;nbsp;&lt;/SPAN&gt;and if I have to change an entry in the &lt;STRONG&gt;&lt;EM&gt;share-config-custom.xml&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSRF &lt;/STRONG&gt;Token Filter in&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;share-config-custom.xml &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;disabled.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 19:01:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21320#M9389</guid>
      <dc:creator>MikeW2</dc:creator>
      <dc:date>2020-02-03T19:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21321#M9390</link>
      <description>&lt;P&gt;Hi alxgomz,&lt;BR /&gt;The Alfresco Content Services mobile app does not communicate with sites that have the ssl protocol.&lt;BR /&gt;I installed Let's Encrypt on a website.&lt;BR /&gt;Sites with http connects normally&lt;BR /&gt;When trying to connect through the application, the following error message occurs:&lt;/P&gt;&lt;P&gt;Save Account&lt;BR /&gt;Couldn't save account. Check your account settings with your IT Team&lt;BR /&gt;Retry with diagnostic&lt;BR /&gt;Done&lt;/P&gt;&lt;P&gt;Clicking on Retry with diagnosis.&lt;BR /&gt;Go through the steps with the exception of Checking repository connection&lt;/P&gt;&lt;P&gt;Any configuration to be done?&lt;BR /&gt;Thank you.&lt;BR /&gt;José Roberto.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 20:18:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21321#M9390</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2020-07-17T20:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: First steps using Alfresco - Port mappings/changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21322#M9391</link>
      <description>Wow... I realize this question is more than 6 months old.... something must be broken with my notifications...
José, I would take a look server side to see if there is any exception... if not then I guess this is something with the keystores used in the client mobile phone.
I'm using letsencrypt certificates and manage to connect to Alfresco repo from the mobile content app (1.8.9.398) without any issue (On a GT-N5110 with android 7.1.2) .</description>
      <pubDate>Fri, 12 Feb 2021 08:46:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/first-steps-using-alfresco-port-mappings-changes/m-p/21322#M9391</guid>
      <dc:creator>alxgomz</dc:creator>
      <dc:date>2021-02-12T08:46:45Z</dc:date>
    </item>
  </channel>
</rss>

