Alfresco – Using plain HTTP for SOLR from Alfresco 5.1

Official Alfresco documentation on this is now available: http://docs.alfresco.com/5.1/tasks/running-without-ssl.html

In Alfresco 5.0 and before, configuring SOLR to run without SSL, involved modifying both SOLR and Alfresco web.xml files. This modifications make harder AMP addon deployments and some other maintenance operations.
From Alfresco 5.1 this feature can be configured without any web.xml modification, thanks to the new X509Filters included in SOLR and Alfresco repo:

Instructions for Alfresco 5.1

  1. Set the solr.secureComms property to none in the alfresco-global.properties file.
  2. Ensure that the solr.port property is set to the correct non-SSL port of the application server in which Solr is running.
  3. In the <solrRootDir>/archive-SpacesStore/conf/solrcore.properties file and <solrRootDir>/workspace-SpacesStore/conf/solrcore.properties file, do the following:
    1. Set the property alfresco.secureComms property to none.
    2. Ensure that the alfresco.port property is set to the correct non-SSL port of the application server in which your repository is running.

Caution

Use this configuration only when your application server is behind a web server (ELB, Apache, Nginx or whatever) and cut any request outside from localhost to api/solr.

Alfresco documentation for 5.1 release will be available in the future. Please refer this resource before following this instructions.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s