<?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 Error logging in to Alfresco in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110735#M30953</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I installed Alfresco with https.&lt;BR /&gt;I generated the certificate&lt;BR /&gt;cd / opt / alfresco / scripts&lt;BR /&gt;./createssl.sh&lt;BR /&gt;However, when logging into the platform the following error message occurs:&lt;/P&gt;&lt;P&gt;Error logging in to Alfresco&lt;/P&gt;&lt;P&gt;Something is wrong with this page ...&lt;/P&gt;&lt;P&gt;We may have encountered an error, or maybe something has been removed or deleted, so check to see if the URL is correct.&lt;/P&gt;&lt;P&gt;It is also possible that you do not have permission to view the page (it may be part of a private site) or that an internal error has occurred. Contact your IT staff.&lt;/P&gt;&lt;P&gt;If you are trying to access the home page and it is no longer available, change it by clicking its name on the toolbar.&lt;/P&gt;&lt;P&gt;See the logs:&lt;/P&gt;&lt;P&gt;root@server-processoverde-seguro:~# tail -f /opt/alfresco/tomcat/logs/catalina.out&lt;/P&gt;&lt;P&gt;2019-11-06 11:20:48,376 ERROR [alfresco.web.site] [http-nio-8080-exec-29] javax.servlet.ServletException: Possible CSRF attack noted when asserting referer header '&lt;A href="https://138.197.2.163/share/page/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://138.197.2.163/share/page/&lt;/A&gt;'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: '&lt;A href="https://138.197.2.163/share/page/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://138.197.2.163/share/page/&lt;/A&gt;' vs server &amp;amp; context: &lt;A href="http://138.197.2.163/" target="_blank" rel="noopener nofollow noreferrer"&gt;http://138.197.2.163/&lt;/A&gt; (string) or (regexp)&lt;/P&gt;&lt;P&gt;root@server-processoverde-seguro:~# tail -f /var/log/nginx/error.log&lt;BR /&gt;2019/11/06 10:17:41 [warn] 2162#2162: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/nginx/ssl/alfserver.crt"&lt;/P&gt;&lt;P&gt;Wed Nov 06 11:30:00 BRST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;I commented the CSRF anyway, it still didn't work out.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;cd /opt/alfresco/tomcat/shared/classes/alfresco/web-extension&lt;BR /&gt;vi share-config-custom.xml&lt;/P&gt;&lt;P&gt;&amp;lt;!--&lt;BR /&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy" replace="true"&amp;gt;&lt;BR /&gt;&amp;lt;properties&amp;gt;&lt;BR /&gt;&amp;lt;token&amp;gt;Alfresco-CSRFToken&amp;lt;/token&amp;gt;&lt;BR /&gt;&amp;lt;referer&amp;gt;https?:\/\/@@ALFRESCO_SHARE_SERVER@@\/.*&amp;lt;/referer&amp;gt;&lt;BR /&gt;&amp;lt;origin&amp;gt;https?:\/\/@@ALFRESCO_SHARE_SERVER@@.*&amp;lt;/origin&amp;gt;&lt;BR /&gt;&amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;gt;&lt;BR /&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;What is the solution to this problem?&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;Zé Brasil&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 14:45:42 GMT</pubDate>
    <dc:creator>jbrasil</dc:creator>
    <dc:date>2019-11-06T14:45:42Z</dc:date>
    <item>
      <title>Error logging in to Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110735#M30953</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I installed Alfresco with https.&lt;BR /&gt;I generated the certificate&lt;BR /&gt;cd / opt / alfresco / scripts&lt;BR /&gt;./createssl.sh&lt;BR /&gt;However, when logging into the platform the following error message occurs:&lt;/P&gt;&lt;P&gt;Error logging in to Alfresco&lt;/P&gt;&lt;P&gt;Something is wrong with this page ...&lt;/P&gt;&lt;P&gt;We may have encountered an error, or maybe something has been removed or deleted, so check to see if the URL is correct.&lt;/P&gt;&lt;P&gt;It is also possible that you do not have permission to view the page (it may be part of a private site) or that an internal error has occurred. Contact your IT staff.&lt;/P&gt;&lt;P&gt;If you are trying to access the home page and it is no longer available, change it by clicking its name on the toolbar.&lt;/P&gt;&lt;P&gt;See the logs:&lt;/P&gt;&lt;P&gt;root@server-processoverde-seguro:~# tail -f /opt/alfresco/tomcat/logs/catalina.out&lt;/P&gt;&lt;P&gt;2019-11-06 11:20:48,376 ERROR [alfresco.web.site] [http-nio-8080-exec-29] javax.servlet.ServletException: Possible CSRF attack noted when asserting referer header '&lt;A href="https://138.197.2.163/share/page/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://138.197.2.163/share/page/&lt;/A&gt;'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: '&lt;A href="https://138.197.2.163/share/page/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://138.197.2.163/share/page/&lt;/A&gt;' vs server &amp;amp; context: &lt;A href="http://138.197.2.163/" target="_blank" rel="noopener nofollow noreferrer"&gt;http://138.197.2.163/&lt;/A&gt; (string) or (regexp)&lt;/P&gt;&lt;P&gt;root@server-processoverde-seguro:~# tail -f /var/log/nginx/error.log&lt;BR /&gt;2019/11/06 10:17:41 [warn] 2162#2162: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/nginx/ssl/alfserver.crt"&lt;/P&gt;&lt;P&gt;Wed Nov 06 11:30:00 BRST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;I commented the CSRF anyway, it still didn't work out.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;cd /opt/alfresco/tomcat/shared/classes/alfresco/web-extension&lt;BR /&gt;vi share-config-custom.xml&lt;/P&gt;&lt;P&gt;&amp;lt;!--&lt;BR /&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy" replace="true"&amp;gt;&lt;BR /&gt;&amp;lt;properties&amp;gt;&lt;BR /&gt;&amp;lt;token&amp;gt;Alfresco-CSRFToken&amp;lt;/token&amp;gt;&lt;BR /&gt;&amp;lt;referer&amp;gt;https?:\/\/@@ALFRESCO_SHARE_SERVER@@\/.*&amp;lt;/referer&amp;gt;&lt;BR /&gt;&amp;lt;origin&amp;gt;https?:\/\/@@ALFRESCO_SHARE_SERVER@@.*&amp;lt;/origin&amp;gt;&lt;BR /&gt;&amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;gt;&lt;BR /&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;What is the solution to this problem?&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;Zé Brasil&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 14:45:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110735#M30953</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2019-11-06T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error logging in to Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110736#M30954</link>
      <description>&lt;P&gt;What UI are you using?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 15:42:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110736#M30954</guid>
      <dc:creator>jljwoznica</dc:creator>
      <dc:date>2019-11-06T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error logging in to Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110737#M30955</link>
      <description>&lt;P&gt;Try disabling CSRF in your &lt;STRONG&gt;share-config-custom.xml&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy" replace="true"&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&amp;lt;filter/&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&amp;lt;/config&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;or adding the &lt;STRONG&gt;https&lt;/STRONG&gt; protocol to your CSRF existing confituration.&lt;/P&gt;
&lt;P&gt;Also remember to clear the &lt;STRONG&gt;cache&lt;/STRONG&gt; of your browser.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 16:44:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110737#M30955</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-11-06T16:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error logging in to Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110738#M30956</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;Hi jljwoznica,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;I'm logging in with admin user.&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 17:07:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110738#M30956</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2019-11-06T17:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error logging in to Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110739#M30957</link>
      <description>&lt;P&gt;Hi angelborroy,&lt;BR /&gt;I disabled CSRF.&lt;BR /&gt;I cleared browser cache.&lt;BR /&gt;In alfresco-global.properties is already set https&lt;BR /&gt;Look:&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Disable the CSRF --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!--&lt;BR /&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy" replace="true"&amp;gt;&lt;BR /&gt;&amp;lt;properties&amp;gt;&lt;BR /&gt;&amp;lt;token&amp;gt;Alfresco-CSRFToken&amp;lt;/token&amp;gt;&lt;BR /&gt;&amp;lt;referer&amp;gt;https?:\/\/@@ALFRESCO_SHARE_SERVER@@\/.*&amp;lt;/referer&amp;gt;&lt;BR /&gt;&amp;lt;origin&amp;gt;https?:\/\/@@ALFRESCO_SHARE_SERVER@@.*&amp;lt;/origin&amp;gt;&lt;BR /&gt;&amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;gt;&lt;BR /&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#-----------------------&lt;BR /&gt;# System paramaters&lt;BR /&gt;#-----------------------&lt;BR /&gt;alfresco.context=alfresco&lt;BR /&gt;alfresco.host=@@ALFRESCO_REPO_SERVER@@&lt;BR /&gt;alfresco.port=8080&lt;BR /&gt;alfresco.protocol=http&lt;BR /&gt;#&lt;BR /&gt;share.context=share&lt;BR /&gt;share.host=@@ALFRESCO_SHARE_SERVER@@&lt;BR /&gt;share.port=443&lt;BR /&gt;share.protocol=https&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What may be missing?&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;Zé Brasil&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 20:14:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110739#M30957</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2019-11-06T20:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error logging in to Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110740#M30958</link>
      <description>&lt;P&gt;If you want to disable CSRF, you need to add the following lines:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&amp;lt;config evaluator="string-compare" condition="CSRFPolicy" replace="true"&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&amp;lt;filter/&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="andale mono,times"&gt;&amp;lt;/config&amp;gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 09:22:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110740#M30958</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-11-07T09:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error logging in to Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110741#M30959</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;Hi angelborroy,&lt;BR /&gt;It worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Thanks a lot for the help.&lt;BR /&gt;With best regards,&lt;BR /&gt;Zé Brasil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 13:11:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-logging-in-to-alfresco/m-p/110741#M30959</guid>
      <dc:creator>jbrasil</dc:creator>
      <dc:date>2019-11-08T13:11:50Z</dc:date>
    </item>
  </channel>
</rss>

