<?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: Configuring Alfresco Comunity 7.0 to work with Https in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/configuring-alfresco-comunity-7-0-to-work-with-https/m-p/131925#M35588</link>
    <description>&lt;P&gt;Sorry the logs of what exactlly and how would I do that&lt;/P&gt;</description>
    <pubDate>Tue, 31 Aug 2021 16:57:48 GMT</pubDate>
    <dc:creator>John1244</dc:creator>
    <dc:date>2021-08-31T16:57:48Z</dc:date>
    <item>
      <title>Configuring Alfresco Comunity 7.0 to work with Https</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configuring-alfresco-comunity-7-0-to-work-with-https/m-p/131923#M35586</link>
      <description>&lt;P&gt;My alfresco configuration:&lt;/P&gt;&lt;P&gt;# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose&lt;BR /&gt;version: "2"&lt;/P&gt;&lt;P&gt;services:&lt;BR /&gt;alfresco:&lt;BR /&gt;image: alfresco/alfresco-content-repository-community:7.0.0&lt;BR /&gt;mem_limit: 3000m&lt;BR /&gt;environment:&lt;BR /&gt;JAVA_TOOL_OPTIONS: "&lt;BR /&gt;-Dencryption.keystore.type=JCEKS&lt;BR /&gt;-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding&lt;BR /&gt;-Dencryption.keyAlgorithm=DESede&lt;BR /&gt;-Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore&lt;BR /&gt;-Dmetadata-keystore.password=mp6yc0UD9e&lt;BR /&gt;-Dmetadata-keystore.aliases=metadata&lt;BR /&gt;-Dmetadata-keystore.metadata.password=oKIWzVdEdA&lt;BR /&gt;-Dmetadata-keystore.metadata.algorithm=DESede&lt;BR /&gt;"&lt;BR /&gt;JAVA_OPTS: "&lt;BR /&gt;-Ddir.root=./alf_data&lt;BR /&gt;-Ddb.driver=org.postgresql.Driver&lt;BR /&gt;-Ddb.username=alfresco&lt;BR /&gt;-Ddb.password=alfresco&lt;BR /&gt;-Ddb.url=jdbc&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ostgresql://postgres:5432/alfresco&lt;BR /&gt;-Dsolr.host=solr6&lt;BR /&gt;-Dsolr.port=8983&lt;BR /&gt;-Dsolr.http.connection.timeout=1000&lt;BR /&gt;-Dsolr.secureComms=https&lt;BR /&gt;-Dsolr.base.url=/solr&lt;BR /&gt;-Dindex.subsystem.name=solr6&lt;BR /&gt;-Dshare.host=127.0.0.1&lt;BR /&gt;-Dshare.port=8080&lt;BR /&gt;-Dalfresco.host=alfresco.local&lt;BR /&gt;-Dalfresco.port=8080&lt;BR /&gt;-Daos.baseUrlOverwrite=&lt;A href="http://localhost:8080/alfresco/aos" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/aos&lt;/A&gt;&lt;BR /&gt;-Dmessaging.broker.url=\"failover&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;nio://activemq:61616)?timeout=3000&amp;amp;jms.useCompression=true\"&lt;BR /&gt;-Ddeployment.method=DOCKER_COMPOSE&lt;BR /&gt;-DlocalTransform.core-aio.url=&lt;A href="http://transform-core-aio:8090/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://transform-core-aio:8090/&lt;/A&gt;&lt;BR /&gt;-Dcsrf.filter.enabled=false&lt;BR /&gt;-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80&lt;BR /&gt;"&lt;BR /&gt;volumes:&lt;BR /&gt;#Bind mount SHORT SYNTAX - [SOURCE:]TARGET[:MODE]&lt;BR /&gt;#SOURCE can be a named volume or a (relative or absolute) path on the host system.&lt;BR /&gt;#TARGET is an absolute path in the container where the volume is mounted.&lt;BR /&gt;#MODE is a mount option which can be read-only (ro) or read-write (rw) (default).&lt;BR /&gt;#Example: ./data/alfresco/alf_data:/usr/local/tomcat/alf_data/:rw&lt;BR /&gt;- ./data/alfresco/alf_data:/usr/local/tomcat/alf_data&lt;BR /&gt;- ./keystores/alfresco:/usr/local/tomcat/alf_data/keystore&lt;/P&gt;&lt;P&gt;transform-core-aio:&lt;BR /&gt;image: alfresco/alfresco-transform-core-aio:2.3.10&lt;BR /&gt;mem_limit: 1536m&lt;BR /&gt;environment:&lt;BR /&gt;JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"&lt;BR /&gt;ports:&lt;BR /&gt;- 8090:8090&lt;/P&gt;&lt;P&gt;share:&lt;BR /&gt;image: alfresco/alfresco-share:7.0.0&lt;BR /&gt;mem_limit: 1g&lt;BR /&gt;environment:&lt;BR /&gt;REPO_HOST: "alfresco"&lt;BR /&gt;REPO_PORT: "8080"&lt;BR /&gt;JAVA_OPTS: "&lt;BR /&gt;-XX:MinRAMPercentage=50&lt;BR /&gt;-XX:MaxRAMPercentage=80&lt;BR /&gt;-Dalfresco.host=localhost&lt;BR /&gt;-Dalfresco.port=8080&lt;BR /&gt;-Dalfresco.context=alfresco&lt;BR /&gt;-Dalfresco.protocol=http&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;postgres:&lt;BR /&gt;image: postgres:13.1&lt;BR /&gt;mem_limit: 512m&lt;BR /&gt;environment:&lt;BR /&gt;- POSTGRES_PASSWORD=alfresco&lt;BR /&gt;- POSTGRES_USER=alfresco&lt;BR /&gt;- POSTGRES_DB=alfresco&lt;BR /&gt;command: postgres -c max_connections=300 -c log_min_messages=LOG&lt;BR /&gt;ports:&lt;BR /&gt;- 5432:5432&lt;BR /&gt;volumes:&lt;BR /&gt;- ./data/postgres-data:/var/lib/postgresql/data&lt;BR /&gt;- ./logs/postgres:/var/log/postgresql&lt;/P&gt;&lt;P&gt;solr6:&lt;BR /&gt;image: alfresco/alfresco-search-services:2.0.1&lt;BR /&gt;mem_limit: 2g&lt;BR /&gt;environment:&lt;BR /&gt;#Solr needs to know how to register itself with Alfresco&lt;BR /&gt;- SOLR_ALFRESCO_HOST=alfresco&lt;BR /&gt;- SOLR_ALFRESCO_PORT=8080&lt;BR /&gt;#Alfresco needs to know how to call solr&lt;BR /&gt;- SOLR_SOLR_HOST=solr6&lt;BR /&gt;- SOLR_SOLR_PORT=8983&lt;BR /&gt;#Create the default alfresco and archive cores&lt;BR /&gt;- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive&lt;BR /&gt;#HTTP by default&lt;BR /&gt;- ALFRESCO_SECURE_COMMS=https&lt;/P&gt;&lt;P&gt;ports:&lt;BR /&gt;- 8083:8983 #Browser port&lt;BR /&gt;volumes:&lt;BR /&gt;- ./keystores/solr:/opt/alfresco-search-services/keystore&lt;/P&gt;&lt;P&gt;activemq:&lt;BR /&gt;image: alfresco/alfresco-activemq:5.16.1&lt;BR /&gt;mem_limit: 1g&lt;BR /&gt;ports:&lt;BR /&gt;- 8161:8161 # Web Console&lt;BR /&gt;- 5672:5672 # AMQP&lt;BR /&gt;- 61616:61616 # OpenWire&lt;BR /&gt;- 61613:61613 # STOMP&lt;/P&gt;&lt;P&gt;proxy:&lt;BR /&gt;image: alfresco/alfresco-acs-nginx:3.1.1&lt;BR /&gt;mem_limit: 128m&lt;BR /&gt;environment:&lt;BR /&gt;DISABLE_PROMETHEUS: "true"&lt;BR /&gt;DISABLE_SYNCSERVICE: "true"&lt;BR /&gt;DISABLE_ADW: "true"&lt;BR /&gt;depends_on:&lt;BR /&gt;- alfresco&lt;BR /&gt;ports:&lt;BR /&gt;- 8080:8080&lt;BR /&gt;- 443:443&lt;BR /&gt;links:&lt;BR /&gt;- alfresco&lt;BR /&gt;- share&lt;BR /&gt;volumes:&lt;BR /&gt;- ./proxy/conf/my_proxy.conf:/etc/nginx/my_proxy.conf&lt;BR /&gt;- ./proxy/crets:/etc/nginx/crets&lt;/P&gt;&lt;P&gt;my nginx.conf file i renamed to my_proxy.conf because i was getting a device or resource busy error:&lt;/P&gt;&lt;P&gt;events {&lt;BR /&gt;worker_connections 1024;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;http {&lt;BR /&gt;server {&lt;BR /&gt;listen 8080;&lt;BR /&gt;server_name alfresco.local;&lt;BR /&gt;return 301 https://$host$request_uri;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;server {&lt;BR /&gt;listen 443 ssl;&lt;BR /&gt;server_name 172.17.17.11;&lt;/P&gt;&lt;P&gt;ssl_certificate etc/nginx/crets/alfresco.local.crt;&lt;BR /&gt;ssl_certificate_key etc/nginx/crets/alfresco.local.key;&lt;BR /&gt;ssl_protocols TLSv1 TLSv1.1 TLSv1.2;&lt;BR /&gt;ssl_ciphers HIGH:!aNULL:!MD5;&lt;/P&gt;&lt;P&gt;location / {&lt;BR /&gt;proxy_set_header Host $host;&lt;/P&gt;&lt;P&gt;proxy_set_header X-Forwarded-Proto $scheme;&lt;/P&gt;&lt;P&gt;proxy_set_header X-Forwarded-Host $host;&lt;/P&gt;&lt;P&gt;proxy_set_header X-Forwarded-Port $server_port;&lt;/P&gt;&lt;P&gt;proxy_pass &lt;A href="http://172.17.17.11:8080/share" target="_blank" rel="nofollow noopener noreferrer"&gt;http://172.17.17.11:8080/share&lt;/A&gt;;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I got this info from : &lt;A href="https://dev.to/vishalraj82/using-https-in-docker-for-local-development-nc7" target="_blank" rel="nofollow noopener noreferrer"&gt;https://dev.to/vishalraj82/using-https-in-docker-for-local-development-nc7&lt;/A&gt;&lt;BR /&gt;but it is not working (http works though) i used mkcert on linux to make my key and certificate.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 20:20:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configuring-alfresco-comunity-7-0-to-work-with-https/m-p/131923#M35586</guid>
      <dc:creator>John1244</dc:creator>
      <dc:date>2021-08-30T20:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Alfresco Comunity 7.0 to work with Https</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configuring-alfresco-comunity-7-0-to-work-with-https/m-p/131924#M35587</link>
      <description>&lt;P&gt;Good morning.&lt;/P&gt;&lt;P&gt;Could you please attach your logs in order to see the technical error?&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Cristina.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 07:44:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configuring-alfresco-comunity-7-0-to-work-with-https/m-p/131924#M35587</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-08-31T07:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Alfresco Comunity 7.0 to work with Https</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configuring-alfresco-comunity-7-0-to-work-with-https/m-p/131925#M35588</link>
      <description>&lt;P&gt;Sorry the logs of what exactlly and how would I do that&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 16:57:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configuring-alfresco-comunity-7-0-to-work-with-https/m-p/131925#M35588</guid>
      <dc:creator>John1244</dc:creator>
      <dc:date>2021-08-31T16:57:48Z</dc:date>
    </item>
  </channel>
</rss>

