<?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 Setup https and ports in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281173#M234303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I plan to setup Alfresco One 4.2.1 as an ECM system for my small company. So, I have tested it in Alfresco CE 4.2e, it works (SSO, webdav, cifs, and so on).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I want to ask you about configure security access to our Alfresco via Web. I want to buy a SSL cert (DV level)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you hint me a best way with it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I have two variant with it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Setup a reverse proxy for https (Linux+apache), and redirect my users from http to https&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Setup Tomcat alfresco for use https only…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about good way for me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I prefere the first variant because it's an easy way, but I'm not shure about good work alfresco with it… (for example: SSO, document direct link, webdav and so on…).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are you think about it? I'm new in web and alfresco… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell me about step-by-step guide for it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the second question is about port of alfresco setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is best setting during setup? Is it 8080 8443 + plus cifs unstandart port or 80 and 443? I see "top" command in my linux and see root priv for java, regardless port 8080 8443 or 80 and 443… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about if I setup alfresco with port 8080 and 8443, and setup apache as a reverse proxy on the same host: from 443 (https) to 8080 (default web port of alfresco)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank a lot for you help to me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 13:24:52 GMT</pubDate>
    <dc:creator>vgusev2007</dc:creator>
    <dc:date>2014-04-01T13:24:52Z</dc:date>
    <item>
      <title>Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281173#M234303</link>
      <description>Hi everyone!I plan to setup Alfresco One 4.2.1 as an ECM system for my small company. So, I have tested it in Alfresco CE 4.2e, it works (SSO, webdav, cifs, and so on).Now, I want to ask you about configure security access to our Alfresco via Web. I want to buy a SSL cert (DV level)Can you hint me a</description>
      <pubDate>Tue, 01 Apr 2014 13:24:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281173#M234303</guid>
      <dc:creator>vgusev2007</dc:creator>
      <dc:date>2014-04-01T13:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281174#M234304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can give you some setup instructions on how to setup the Alfresco+apache. I've tried numerous times to get it to work with tomcat and never could get the SSL to work. If you do enough researching you will find all the same material I'm about to post from other threads as well. None of what I'm about to give I can take the credit for. Keep in mind that these instructions were made for Centos and they may differ slightly on your ubuntu. Only you can really determine that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First things first if this is a vanilla install then you can add all of the items below in no particular order. Also, you want to purchase a valid SSL cert from a certificate authority. Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.digicert.com/ppc/?gclid=COPigMfav70CFcRefgodMigAng" rel="nofollow noopener noreferrer"&gt;http://www.digicert.com/ppc/?gclid=COPigMfav70CFcRefgodMigAng&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit your Alfresco-global.properties file and add or edit the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;### Sharepoint ###&lt;BR /&gt;vti.server.external.host=myhostname.net&lt;BR /&gt;vti.server.external.port=1111&lt;BR /&gt;vti.server.external.protocol=https&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: Port 1111 is used for this example its not one that I use officially, but for the purpose of this guide I'm referencing it. Also, I didn't want to use the standard port number 7070 for security reasons. So feel free to use 7070 or whatever other port you want to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prerequisites: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to install mod_jk, httpd-devel&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Optional: php-pear, php-devel, pecl install apc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Download the ajp tomcat connector: tomcat-connectors-1.2.37-src.tar.gz (there might be an updated version)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Place the tar file contents to usr/src/*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /usr/src/tomcat-connectors-1.2.37-src/native&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ./configure –with-apxs=/usr/sbin/apxs &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp ./apache-2.0/mod_jk.so /usr/lib64/httpd/modules/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;———————————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create the following file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco/tomcat/conf/Catalina/localhost/ROOT.xml &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;Context path="" docBase="share.war"&amp;gt;&lt;BR /&gt;&amp;lt;/Context&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;——————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next we need to setup a connector for Apache. It's possible this is *already done* on your Tomcat install by default, if not add the following in the Catalina&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Service section in /path to your install/alfresco/tomcat/conf/server.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Need to define a worker file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I used /opt/alfresco/tomcat/conf/workers.properties as configuration file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;worker.list=tomcat&lt;BR /&gt;worker.tomcat.port=8009&lt;BR /&gt;worker.tomcat.host=localhost&lt;BR /&gt;worker.tomcat.type=ajp13&lt;BR /&gt;worker.tomcat.lbfactor=1&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The name tomcat is arbitrary, so you can replace all occurrences with whatever you like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a config file in /etc/httpd/conf.d/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I named it alfresco.conf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;LoadModule jk_module modules/mod_jk.so&lt;BR /&gt;JkWorkersFile /path to your install/alfresco/tomcat/conf/workers.properties&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Apache add this to the end of your config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;BR /&gt;&amp;nbsp; ServerName mydomain.net&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; SSLEngine on&lt;BR /&gt;&amp;nbsp; SSLCertificateKeyFile /path to my file.key&lt;BR /&gt;&amp;nbsp; SSLCertificateFile /path to my file.crt&lt;BR /&gt;&amp;nbsp; SSLCACertificateFile /path to my CAfile.crt&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; #ProxyPass /paste &lt;A href="http://localhost/paste/" rel="nofollow noopener noreferrer"&gt;http://localhost/paste/&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; #ProxyPassReverse /paste &lt;A href="http://localhost/paste/" rel="nofollow noopener noreferrer"&gt;http://localhost/paste/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; RequestHeader set X-Forwarded-Proto "https"&lt;BR /&gt;&amp;nbsp; ProxyPass / &lt;A href="http://myhostname:8080/" rel="nofollow noopener noreferrer"&gt;http://myhostname:8080/&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; ProxyPassReverse / &lt;A href="http://myhostname:8080/" rel="nofollow noopener noreferrer"&gt;http://myhostname:8080/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; ProxyTimeout 300&lt;BR /&gt;&amp;nbsp; SSLProxyEngine on&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;Proxy *&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; allow from all&lt;BR /&gt;&amp;nbsp; &amp;lt;/Proxy&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;VirtualHost *:1111&amp;gt;&lt;BR /&gt;&amp;nbsp; ServerName mydomain.net&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; SSLEngine on&lt;BR /&gt;&amp;nbsp; SSLCertificateKeyFile /path to my file.key&lt;BR /&gt;&amp;nbsp; SSLCertificateFile /path to my file.crt&lt;BR /&gt;&amp;nbsp; SSLCACertificateFile /path to my CA file.crt&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; RequestHeader set X-Forwarded-Proto "https"&lt;BR /&gt;&amp;nbsp; ProxyPass / ajp://127.0.0.1:7070/&lt;BR /&gt;&amp;nbsp; ProxyPassReverse / ajp:127.0.0.1:7070/&lt;BR /&gt;&amp;nbsp; ProxyTimeout 300&lt;BR /&gt;&amp;nbsp; SSLProxyEngine on&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;Proxy *&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allow from all&lt;BR /&gt;&amp;nbsp; &amp;lt;/Proxy&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now for a SSL connection on your sharepoint do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Download the file jetty-ajp-6.1.14.jar from &lt;/SPAN&gt;&lt;A href="http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-ajp/6.1.14/" rel="nofollow noopener noreferrer"&gt;http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-ajp/6.1.14/&lt;/A&gt;&lt;SPAN&gt; (this might be an outdated version of the file.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Place the jar file in webapps/alfresco/WEB-INF/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Locate the following file: //alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/&lt;/SPAN&gt;&lt;A href="http://org.alfresco.module.vti/context/vti.context.xml" rel="nofollow noopener noreferrer"&gt;org.alfresco.module.vti/context/vti.context.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Search for the &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;bean id=“vtiServerConnector” class=“org.mortbay.jetty.bio.SocketConnector”&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Comment it out&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Put the following below it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;bean id="vtiServerConnector" class="org.mortbay.jetty.ajp.Ajp13SocketConnector"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="port"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;${vti.server.port}&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="headerBufferSize"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;8192&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may need to edit your ssl.conf file and enter Listen 1111 or whatever port number you decide to use if not the default 7070.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Restart alfresco service and you should be good to go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOW I stress that you may still have a SSL issue because the guys at Alfresco included a picture file that downloads on the sign in page from their website. This "kinda" breaks a true SSL connection. I had to disable that in order for everything to end up the way that I wanted it to. Hope this helps. Sorry I can't help you with the tomcat portion, but there are a lot of smart peeps in this forum that can help with that if you decide to go that route.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 16:51:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281174#M234304</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2014-04-01T16:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281175#M234305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exelent guide! Thank a lot for you! I'll true to do it step-by-step. I'll write here if I have a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Really BIG thank for you guide to me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have printed out it on a papper.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 09:27:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281175#M234305</guid>
      <dc:creator>vgusev2007</dc:creator>
      <dc:date>2014-04-02T09:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281176#M234306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you ESWBitto for this guide! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We use Alfresco Community 5.0.c and configured as you written above. But we have to use mod_ajp instead mod_jk. This should'nt be a problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The document opens in Word or Excel, but the apache error log prints the following error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;==&amp;gt; /var/log/apache2/alfresco-sp_error.log &amp;lt;==&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Thu Feb 26 13:39:38 2015] [error] ajp_read_header: ajp_ilink_receive failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Thu Feb 26 13:39:38 2015] [error] (120006)APR does not understand this error code: proxy: read response failed from 127.0.0.1:7171 (127.0.0.1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After editing i'm not able to save the change and word raise an error and the same error in apache errorlog appears again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't worry about the port. We change the vti.server.port to 7171 and the vti.server.external.port to 7070.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you an idea? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Philipp&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 12:46:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281176#M234306</guid>
      <dc:creator>firetux</dc:creator>
      <dc:date>2015-02-26T12:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281177#M234307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello firetux,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry it has been a while since I have visited the forums. A couple of things you should know. I'm currently using 4.2.f. I haven't tested the SSL connection with 5.0.c, but I know that "hacking" (as mr. rogers puts it) is a lot harder to do in this version. I think alfresco wants you to only put your modifications in a single place such as the /install/alfresco/tomcat/shared place. The biggest thing I think is to make sure that alfresco recognizes the ajp connector and that apache and alfresco can talk to each other. If you have the firewall enabled on the server maybe turn it off and test to see if you have a rule blocking it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll keep a closer look on this thread from now on. Hope this helps in some way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 17:34:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281177#M234307</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2015-03-02T17:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281178#M234308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the setting above on the 5.0.c installation. However I'm getting Connection refused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-06-03 11:34:15,024&amp;nbsp; ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-3] Tracking failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; java.net.ConnectException: Connection refused&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have another solution for this problem? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Cause I can see that some time went from last post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Boris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 08:41:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281178#M234308</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-03T08:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281179#M234309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some further test I managed to start the SW.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had some different error messages and I just found this topic of yours:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/authentication-ldap-sso/possible-csrf-attack" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/authentication-ldap-sso/possible-csrf-attack&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I added the text from the file to my share-config-custom.xml and now I'm able to access the alfresco via tghe https.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However I still have a lot of error in the catalina.out log. Would you mind take a look at them. I attached a file here with them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 09:23:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281179#M234309</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-03T09:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281180#M234310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Boris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Those instructions were for 4.2.x I haven't begun testing with 5.0.x yet. In the near future I'll be upgrading and going through that process myself. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 15:43:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281180#M234310</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2015-06-03T15:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281181#M234311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understood that the Alfresco version is older, but I had to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How ever I had some difficulties but the end game is that the Alfresco started after long testing period of how I can start it to work on https.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you restrict some how the http traffic from outside or you left it as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, mate!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 06:55:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281181#M234311</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-04T06:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281182#M234312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Boris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a requirement that users be able to access alfresco both inside and outside of our network. So for our firewall all the ports that alfresco requires is open (externally). Internally not that big of a deal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 16:10:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281182#M234312</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2015-06-04T16:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281183#M234313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, Understand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have another question. Would you mind telling me why is that worker needed in your configuration?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 11:17:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281183#M234313</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-05T11:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setup https and ports</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281184#M234314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It helps with the communication between apache and tomcat. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is a worker file for the jk_module that is in apache. It lists the parameters for tomcat and apache to "talk" to each other.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 17:03:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setup-https-and-ports/m-p/281184#M234314</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2015-06-05T17:03:40Z</dc:date>
    </item>
  </channel>
</rss>

