<?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: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136293#M36607</link>
    <description>&lt;P&gt;Search Services GitHub project is a mirror of a private project. You can find details in &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/community-mirroring-with-git/ba-p/298628" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-blog/community-mirroring-with-git/ba-p/298628&lt;/A&gt;. If you want to use the Community version and build everything from scratch, I recommend you to use 2.0.3: &lt;A href="https://github.com/alfresco/SearchServices/tree/2.0.3" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/alfresco/SearchServices/tree/2.0.3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Despite the official documentation, available in &lt;A href="https://docs.alfresco.com/search-services/latest/install/options/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-services/latest/install/options/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You have many different resources:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Alfresco Docker Installer - &lt;A href="https://github.com/alfresco/alfresco-docker-installer" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/alfresco/alfresco-docker-installer&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Sample projects - &lt;A href="https://github.com/aborroy/alfresco-solr-docker-mtls" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/aborroy/alfresco-solr-docker-mtls&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Blog posts from the Community - &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/a-simplified-guide-to-enable-acs-mutual-tls-with-search-services/ba-p/308008" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-blog/a-simplified-guide-to-enable-acs-mutual-tls-with-search-services/ba-p/308008&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Step by step installation walkthrougts - &lt;A href="https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope that is useful for you.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 07:15:37 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2023-02-08T07:15:37Z</dc:date>
    <item>
      <title>Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5 ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136292#M36606</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am trying to install Alfresco (latest version) and of course the search services.&lt;/P&gt;&lt;P&gt;For Alfresco, for an unknown reason I could make it work, mostly. Excepted for the connection with the search services. But I have the same problem in both components (Repo and Search) so if I can understand one, I might have clue to understand the other.&lt;/P&gt;&lt;P&gt;The problem is that they complain : "password can't be null".&lt;/P&gt;&lt;P&gt;So I will try first with the search services, because it is a standalone application, easier to start and stop hundreds of times.&lt;/P&gt;&lt;P&gt;In spite of cleverly inconsistent documentation, I could, I believe, setup the search services, I created the keystores with the tool downloaded from&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-ssl-generator" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-ssl-generator&lt;/A&gt; , provided the information of the keystores (location, password, type) in the numerous places it was required, before that there were other errors such as unsafe location of the keystore resource (although I put it where I was told to do), but now Solr starts, excepted for the "password can't be null" error.&lt;/P&gt;&lt;P&gt;For instance, I ran the cool command, found somewhere in the documentation :&lt;/P&gt;&lt;PRE&gt;./solr/bin/solr start -a&amp;nbsp; "-Dcreate.alfresco.defaults=alfresco,archive
&amp;nbsp;-Dsolr.ssl.checkPeerName=false
&amp;nbsp;-Dsolr.allow.unsafe.resourceloading=true
&amp;nbsp;-Dssl-keystore.password=PASSWORD-KS
&amp;nbsp;-Dssl-keystore.aliases=ssl-alfresco-ca,ssl-repo-client
&amp;nbsp;-Dssl-keystore.ssl-alfresco-ca.password=PASSWORD-KS
&amp;nbsp;-Dssl-keystore.ssl-repo-client.password=PASSWORD-KS
 -Dssl-truststore.password=PASSWORD-TRS
&amp;nbsp;-Dssl-truststore.aliases=ssl-alfresco-ca,ssl-repo,ssl-repo-client
&amp;nbsp;-Dssl-truststore.ssl-alfresco-ca.password=PASSWORD-TRS
&amp;nbsp;-Dssl-truststore.ssl-repo.password=PASSWORD-TRS
&amp;nbsp;-Dssl-truststore.ssl-repo-client.password=PASSWORD-TRS" -f&lt;/PRE&gt;&lt;P&gt;where&amp;nbsp;PASSWORD-KS is the password for the keystore, and&amp;nbsp;PASSWORD-TRS is the password for the truststore.&lt;/P&gt;&lt;P&gt;At this point I have an error:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors&lt;/PRE&gt;&lt;P&gt;Java is Java 11, because I tried with 16 and it doesn't work because half dozen start parameters are unknown.&lt;/P&gt;&lt;P&gt;If I start solr with "solr start", I get the null password error.&lt;/P&gt;&lt;P&gt;So now I will try to get the source of my version and try to find what exactly I should do in order to give the password or make it work.&lt;/P&gt;&lt;P&gt;I had downloaded the version 2.0.5.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I go to the source repo (&lt;A href="https://github.com/Alfresco/SearchServices/tree/2.0.0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/SearchServices/tree/2.0.0&lt;/A&gt;), no 2.0.5 version. There are tags for 2.0.0, 2.0.1, 2.0.2, 2.0.3, and pre-releases of 2.1.0.&lt;/P&gt;&lt;P&gt;Ok, let's go back to the beginning, download it again and check what is the latest version or an older one.&lt;/P&gt;&lt;P&gt;I go to the &lt;A href="https://www.alfresco.com/thank-you/thank-you-downloading-alfresco-community-edition" target="_self" rel="nofollow noopener noreferrer"&gt;Alfresco download page for community edition.&amp;nbsp;&lt;/A&gt;&lt;FONT color="#000000"&gt;There I have "7.3 Community install". Ok.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Down the page I can find:&amp;nbsp;3. Non-containerized manual deployment. So far so good. I was there already.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;And:&amp;nbsp;Alfresco Search Services 2.0.3.zip. Hum ? 2.0.3 ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;But the link is:&amp;nbsp;&lt;A href="https://download.alfresco.com/cloudfront/release/community/SearchServices/2.0.5/alfresco-search-services-2.0.5.zip" target="_blank" rel="nofollow noopener noreferrer"&gt;https://download.alfresco.com/cloudfront/release/community/SearchServices/2.0.5/alfresco-search-services-2.0.5.zip&lt;/A&gt;. And the README file says it's 2.0.5.&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;That's why I believed I installed the version 2.0.5.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Then where is the source for this version ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;So to resume&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;if someone can give the step-by-step procedure to setup this and have it work without any "null password" error, I'd be glad to follow it.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#000000"&gt;Else if I have to find where is the mess, where are the sources in sync with the version available for download ?&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thank you.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 17:20:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136292#M36606</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-07T17:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136293#M36607</link>
      <description>&lt;P&gt;Search Services GitHub project is a mirror of a private project. You can find details in &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/community-mirroring-with-git/ba-p/298628" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-blog/community-mirroring-with-git/ba-p/298628&lt;/A&gt;. If you want to use the Community version and build everything from scratch, I recommend you to use 2.0.3: &lt;A href="https://github.com/alfresco/SearchServices/tree/2.0.3" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/alfresco/SearchServices/tree/2.0.3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Despite the official documentation, available in &lt;A href="https://docs.alfresco.com/search-services/latest/install/options/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-services/latest/install/options/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You have many different resources:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Alfresco Docker Installer - &lt;A href="https://github.com/alfresco/alfresco-docker-installer" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/alfresco/alfresco-docker-installer&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Sample projects - &lt;A href="https://github.com/aborroy/alfresco-solr-docker-mtls" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/aborroy/alfresco-solr-docker-mtls&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Blog posts from the Community - &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/a-simplified-guide-to-enable-acs-mutual-tls-with-search-services/ba-p/308008" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-blog/a-simplified-guide-to-enable-acs-mutual-tls-with-search-services/ba-p/308008&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Step by step installation walkthrougts - &lt;A href="https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope that is useful for you.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 07:15:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136293#M36607</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-02-08T07:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136294#M36608</link>
      <description>&lt;P&gt;There is even a YouTube video describing the different communication modes between SOLR and Repo:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=BSNJz6nd8Xg" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.youtube.com/watch?v=BSNJz6nd8Xg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 07:17:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136294#M36608</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-02-08T07:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136295#M36609</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Thank for the video but I am so far at the middle trying to start Alfresco in mtls mode of course.&lt;/P&gt;&lt;P&gt;I didn't answer yet because I have tried to run Alfresco zillions of times.&lt;/P&gt;&lt;P&gt;The keystore tool creates without extra options (other than the passwords) the following aliases, that are not those you use (extract of keytool output) :&lt;/P&gt;&lt;PRE&gt;ssl.keystore:
ssl.alfresco.ca, 7 févr. 2023, trustedCertEntry, 
ssl.repo, 7 févr. 2023, PrivateKeyEntry, 

ssl.truststore:
alfresco.ca, 7 févr. 2023, trustedCertEntry, 
ssl.repo.client, 7 févr. 2023, trustedCertEntry, &lt;/PRE&gt;&lt;P&gt;My start options as given by Tomcat in the list of arguments (funny, the passwords are displayed by Tomcat in its log), I replaced the end of actual values with stars:&lt;/P&gt;&lt;PRE&gt; -Dssl-keystore.password=ks+******
 -Dssl-keystore.aliases=ssl.alfresco.ca,ssl.repo
 -Dssl-keystore.ssl.alfresco.ca.password=ks+******
 -Dssl-keystore.ssl.repo.password=ks+******
 -Dssl-truststore.password=trs+******
 -Dssl-truststore.aliases=alfresco.ca,ssl.repo.client
 -Dssl-truststore.alfresco.ca.password=trs+******
 -Dssl-truststore.ssl.repo-client.password=trs+******&lt;/PRE&gt;&lt;P&gt;Result at this point after numerous other fails:&lt;/P&gt;&lt;PRE&gt;org.alfresco.error.AlfrescoRuntimeException: 01080000 Keystores are invalid
...
Caused by: org.alfresco.encryption.MissingKeyException: Key metadata is missing from keystore /opt/Alfresco/alf_data_7/keystore/keystore
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:910)
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:188)
	at org.alfresco.encryption.KeyStoreChecker.validateKeyStores(KeyStoreChecker.java:49)
	at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:73)&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Feb 2023 18:53:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136295#M36609</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-08T18:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136296#M36610</link>
      <description>&lt;P&gt;Alfresco is started (again), this time without the errors about "null passwords".&lt;/P&gt;&lt;P&gt;But Solr still doesn't work. The keystores generated by ssl-tool are loaded without any error, at last.&lt;/P&gt;&lt;P&gt;But it gives: &lt;STRONG&gt;org.alfresco.error.AlfrescoRuntimeException: 01100000 api/solr/modelsdiff return status:403&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;org.alfresco.error.AlfrescoRuntimeException: 01100000 api/solr/modelsdiff return status:403
	at org.alfresco.solr.client.SOLRAPIClient.callRepository(SOLRAPIClient.java:1598)
	at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1105)
	at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:313)
	at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:275)
	at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:297)
	at org.alfresco.solr.lifecycle.SolrCoreLoadListener.createModelTracker(SolrCoreLoadListener.java:345)
	at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:139)
	at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Probably I missed some mandatory step, but which one ?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 21:11:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136296#M36610</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-10T21:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136297#M36611</link>
      <description>&lt;P&gt;So it looks like it just does not work.&lt;/P&gt;&lt;P&gt;All is finally configured propertly, I checked that if I introduce mistakes one by one in ports, passwords, etc., I get the expected error so I know that ly settings are used and valid.&lt;/P&gt;&lt;P&gt;But still error 403, Alfresco doesn't want solr access.&lt;/P&gt;&lt;P&gt;Then I tried to change the secureComms mode to secret, and miracle, not more error 403, Solr started indexing.&lt;/P&gt;&lt;P&gt;The problem is that Solr is in HTTPS mode and apparently Alfresco does not like that since when I try a query I obtain:&lt;/P&gt;&lt;PRE&gt;Caused by: org.apache.commons.httpclient.ProtocolException: The server localhost failed to respond with a valid HTTP response
	at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1987)
	at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at org.alfresco.httpclient.RequestHeadersHttpClient.executeMethod(RequestHeadersHttpClient.java:90)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at org.alfresco.httpclient.RequestHeadersHttpClient.executeMethod(RequestHeadersHttpClient.java:75)
	at org.alfresco.repo.search.impl.solr.AbstractSolrQueryHTTPClient.postQuery(AbstractSolrQueryHTTPClient.java:100)
	at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.postSolrQuery(SolrQueryHTTPClient.java:1112)
	at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:579)&lt;/PRE&gt;&lt;P&gt;So I would have to throw away all the SSL configuration I took days to fix and go back to plain HTTP + a ridiculous "secret" setting.&lt;/P&gt;&lt;P&gt;Thank you very much for all the days lost for nothing, expected get a non-working **bleep** that I will have to throw away.&lt;/P&gt;&lt;P&gt;Fortunately I am still ROFL when I see the password, stored in the startup scripts, passed as command arguments (I followed the documentation) and displayed by tomcat at startup, or available for any tier application who just have to setenv() to get them, this because "storing passwords in a property file is not secure".&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 18:13:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136297#M36611</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-14T18:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136298#M36612</link>
      <description>&lt;P&gt;So overnight I had another surprise, at 1 AM Solr tried to do a "snapshot", whatever it is, but failed because some directory in solrhome does not exist. I googled this error and what I got was about someone who installed some site creation module in Alfresco and didn't put admin in some group. But obviously it's a problem with solr settings or environment... Next step will probably be a sequel of Alice in Wonderland, they got all what it takes to do it.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 08:16:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136298#M36612</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-15T08:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136299#M36613</link>
      <description>&lt;P&gt;Additional resource:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.slideshare.net/angelborroy/alfresco-certificates" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.slideshare.net/angelborroy/alfresco-certificates&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 12:43:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136299#M36613</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-02-15T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136300#M36614</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I posted a long answer with the results and all hours ago, and it was here, I even checked that a long log was collapsed by the "spoiler" button, but now this answer no more there !!! Is it a joke ?&lt;/P&gt;&lt;P&gt;Ok, short version then.&lt;/P&gt;&lt;P&gt;I downloaded the search-services version 2.0.3, did the same setup, activated the SSL log, and apparently the communication is OK.&lt;/P&gt;&lt;DIV class="lia-spoiler-container"&gt;&lt;A class="lia-spoiler-link" href="#" rel="nofollow noopener noreferrer"&gt;Spoiler&lt;/A&gt;&lt;NOSCRIPT&gt; (Highlight to read)&lt;/NOSCRIPT&gt;&lt;DIV class="lia-spoiler-border"&gt;&lt;DIV class="lia-spoiler-content"&gt;&lt;PRE&gt;"ClientHello": {
  "client version"      : "TLSv1.2",
  "random"              : "D7 CC 7B 96 E7 AC B9 B9 3B 28 14 59 3E 26 F0 A8 AE 64 07 41 00 F3 B6 78 BE 3B 84 56 23 C3 58 89",
  "session id"          : "6F 13 F1 16 6C CC 9C 90 BA 7D D0 3F 8E D4 41 5B 13 8D 56 21 47 9C EA ED 30 AA 91 01 5C BF 95 24",
  "cipher suites"       : "[TLS_AES_256_GCM_SHA384(0x1302), TLS_AES_128_GCM_SHA256(0x1301), TLS_CHACHA20_POLY1305_SHA256(0x1303), TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384(0xC02C), TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256(0xC02B), TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256(0xCCA9), TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384(0xC030), TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256(0xCCA8), TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256(0xC02F), TLS_DHE_RSA_WITH_AES_256_GCM_SHA384(0x009F), TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256(0xCCAA), TLS_DHE_RSA_WITH_AES_128_GCM_SHA256(0x009E), TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384(0xC024), TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384(0xC028), TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256(0xC023), TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256(0xC027), TLS_DHE_RSA_WITH_AES_256_CBC_SHA256(0x006B), TLS_DHE_RSA_WITH_AES_128_CBC_SHA256(0x0067), TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA(0xC00A), TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA(0xC014), TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA(0xC009), TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA(0xC013), TLS_DHE_RSA_WITH_AES_256_CBC_SHA(0x0039), TLS_DHE_RSA_WITH_AES_128_CBC_SHA(0x0033), TLS_RSA_WITH_AES_256_GCM_SHA384(0x009D), TLS_RSA_WITH_AES_128_GCM_SHA256(0x009C), TLS_RSA_WITH_AES_256_CBC_SHA256(0x003D), TLS_RSA_WITH_AES_128_CBC_SHA256(0x003C), TLS_RSA_WITH_AES_256_CBC_SHA(0x0035), TLS_RSA_WITH_AES_128_CBC_SHA(0x002F), TLS_EMPTY_RENEGOTIATION_INFO_SCSV(0x00FF)]",
  "compression methods" : "00",
  "extensions"          : [
    "status_request (5)": {
      "certificate status type": ocsp
      "OCSP status request": {
        "responder_id": &amp;lt;empty&amp;gt;
        "request extensions": {
          &amp;lt;empty&amp;gt;
        }
      }
    },
    "supported_groups (10)": {
      "versions": [x25519, secp256r1, secp384r1, secp521r1, x448, ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144, ffdhe8192]
    },
    "ec_point_formats (11)": {
      "formats": [uncompressed]
    },
    "signature_algorithms (13)": {
      "signature schemes": [ecdsa_secp256r1_sha256, ecdsa_secp384r1_sha384, ecdsa_secp521r1_sha512, rsa_pss_rsae_sha256, rsa_pss_rsae_sha384, rsa_pss_rsae_sha512, rsa_pss_pss_sha256, rsa_pss_pss_sha384, rsa_pss_pss_sha512, rsa_pkcs1_sha256, rsa_pkcs1_sha384, rsa_pkcs1_sha512, ecdsa_sha224, rsa_sha224, ecdsa_sha1, rsa_pkcs1_sha1]
    },
    "signature_algorithms_cert (50)": {
      "signature schemes": [ecdsa_secp256r1_sha256, ecdsa_secp384r1_sha384, ecdsa_secp521r1_sha512, rsa_pss_rsae_sha256, rsa_pss_rsae_sha384, rsa_pss_rsae_sha512, rsa_pss_pss_sha256, rsa_pss_pss_sha384, rsa_pss_pss_sha512, rsa_pkcs1_sha256, rsa_pkcs1_sha384, rsa_pkcs1_sha512, ecdsa_sha224, rsa_sha224, ecdsa_sha1, rsa_pkcs1_sha1]
    },
    "status_request_v2 (17)": {
      "cert status request": {
        "certificate status type": ocsp_multi
        "OCSP status request": {
          "responder_id": &amp;lt;empty&amp;gt;
          "request extensions": {
            &amp;lt;empty&amp;gt;
          }
        }
      }
    },
    "extended_master_secret (23)": {
      &amp;lt;empty&amp;gt;
    },
    "supported_versions (43)": {
      "versions": [TLSv1.3, TLSv1.2]
    },
    "psk_key_exchange_modes (45)": {
      "ke_modes": [psk_dhe_ke]
    },
    "key_share (51)": {
      "client_shares": [  
        {
          "named group": x25519
          "key_exchange": {
            0000: 56 4D 53 DE A4 3A CA 4C   C7 82 89 4E 6E C5 B3 93  VMS..:.L...Nn...
            0010: E8 51 AB 80 07 BB 60 41   FD 08 01 AD 67 A8 88 7A  .Q....`A....g..z
          }
        },
      ]
    }
  ]
}
)
javax.net.ssl|DEBUG|4C|searcherExecutor-8-thread-1-processing-x:alfresco|2023-02-15 16:29:25.048 UTC|ServerHello.java:867|Consuming ServerHello handshake message (
"ServerHello": {
  "server version"      : "TLSv1.2",
  "random"              : "A2 C6 D9 CF F1 EA 18 9E 24 D6 A0 26 4C CD 84 B3 F3 34 1E C7 34 12 B5 C6 97 02 3A AA 51 FE 76 B4",
  "session id"          : "6F 13 F1 16 6C CC 9C 90 BA 7D D0 3F 8E D4 41 5B 13 8D 56 21 47 9C EA ED 30 AA 91 01 5C BF 95 24",
  "cipher suite"        : "TLS_AES_256_GCM_SHA384(0x1302)",
  "compression methods" : "00",
  "extensions"          : [
    "supported_versions (43)": {
      "selected version": [TLSv1.3]
    },
    "key_share (51)": {
      "server_share": {
        "named group": x25519
        "key_exchange": {
          0000: C8 08 EC C2 D9 90 8F F0   BB 60 E0 97 65 E3 B8 A4  .........`..e...
          0010: E0 8A 55 CB 4E B1 24 4A   5A 5C 3A AD D9 8A B4 09  ..U.N.$JZ\:.....
        }
      },
    }
  ]
}
)&lt;/PRE&gt;&lt;/DIV&gt;&lt;NOSCRIPT&gt;&lt;DIV class="lia-spoiler-noscript-container"&gt;&lt;DIV class="lia-spoiler-noscript-content"&gt;"ClientHello": {
  "client version"      : "TLSv1.2",
  "random"              : "D7 CC 7B 96 E7 AC B9 B9 3B 28 14 59 3E 26 F0 A8 AE 64 07 41 00 F3 B6 78 BE 3B 84 56 23 C3 58 89",
  "session id"          : "6F 13 F1 16 6C CC 9C 90 BA 7D D0 3F 8E D4 41 5B 13 8D 56 21 47 9C EA ED 30 AA 91 01 5C BF 95 24",
  "cipher suites"       : "[TLS_AES_256_GCM_SHA384(0x1302), TLS_AES_128_GCM_SHA256(0x1301), TLS_CHACHA20_POLY1305_SHA256(0x1303), TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384(0xC02C), TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256(0xC02B), TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256(0xCCA9), TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384(0xC030), TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256(0xCCA8), TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256(0xC02F), TLS_DHE_RSA_WITH_AES_256_GCM_SHA384(0x009F), TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256(0xCCAA), TLS_DHE_RSA_WITH_AES_128_GCM_SHA256(0x009E), TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384(0xC024), TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384(0xC028), TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256(0xC023), TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256(0xC027), TLS_DHE_RSA_WITH_AES_256_CBC_SHA256(0x006B), TLS_DHE_RSA_WITH_AES_128_CBC_SHA256(0x0067), TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA(0xC00A), TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA(0xC014), TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA(0xC009), TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA(0xC013), TLS_DHE_RSA_WITH_AES_256_CBC_SHA(0x0039), TLS_DHE_RSA_WITH_AES_128_CBC_SHA(0x0033), TLS_RSA_WITH_AES_256_GCM_SHA384(0x009D), TLS_RSA_WITH_AES_128_GCM_SHA256(0x009C), TLS_RSA_WITH_AES_256_CBC_SHA256(0x003D), TLS_RSA_WITH_AES_128_CBC_SHA256(0x003C), TLS_RSA_WITH_AES_256_CBC_SHA(0x0035), TLS_RSA_WITH_AES_128_CBC_SHA(0x002F), TLS_EMPTY_RENEGOTIATION_INFO_SCSV(0x00FF)]",
  "compression methods" : "00",
  "extensions"          : [
    "status_request (5)": {
      "certificate status type": ocsp
      "OCSP status request": {
        "responder_id": &amp;lt;empty&amp;gt;
        "request extensions": {
          &amp;lt;empty&amp;gt;
        }
      }
    },
    "supported_groups (10)": {
      "versions": [x25519, secp256r1, secp384r1, secp521r1, x448, ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144, ffdhe8192]
    },
    "ec_point_formats (11)": {
      "formats": [uncompressed]
    },
    "signature_algorithms (13)": {
      "signature schemes": [ecdsa_secp256r1_sha256, ecdsa_secp384r1_sha384, ecdsa_secp521r1_sha512, rsa_pss_rsae_sha256, rsa_pss_rsae_sha384, rsa_pss_rsae_sha512, rsa_pss_pss_sha256, rsa_pss_pss_sha384, rsa_pss_pss_sha512, rsa_pkcs1_sha256, rsa_pkcs1_sha384, rsa_pkcs1_sha512, ecdsa_sha224, rsa_sha224, ecdsa_sha1, rsa_pkcs1_sha1]
    },
    "signature_algorithms_cert (50)": {
      "signature schemes": [ecdsa_secp256r1_sha256, ecdsa_secp384r1_sha384, ecdsa_secp521r1_sha512, rsa_pss_rsae_sha256, rsa_pss_rsae_sha384, rsa_pss_rsae_sha512, rsa_pss_pss_sha256, rsa_pss_pss_sha384, rsa_pss_pss_sha512, rsa_pkcs1_sha256, rsa_pkcs1_sha384, rsa_pkcs1_sha512, ecdsa_sha224, rsa_sha224, ecdsa_sha1, rsa_pkcs1_sha1]
    },
    "status_request_v2 (17)": {
      "cert status request": {
        "certificate status type": ocsp_multi
        "OCSP status request": {
          "responder_id": &amp;lt;empty&amp;gt;
          "request extensions": {
            &amp;lt;empty&amp;gt;
          }
        }
      }
    },
    "extended_master_secret (23)": {
      &amp;lt;empty&amp;gt;
    },
    "supported_versions (43)": {
      "versions": [TLSv1.3, TLSv1.2]
    },
    "psk_key_exchange_modes (45)": {
      "ke_modes": [psk_dhe_ke]
    },
    "key_share (51)": {
      "client_shares": [  
        {
          "named group": x25519
          "key_exchange": {
            0000: 56 4D 53 DE A4 3A CA 4C   C7 82 89 4E 6E C5 B3 93  VMS..:.L...Nn...
            0010: E8 51 AB 80 07 BB 60 41   FD 08 01 AD 67 A8 88 7A  .Q....`A....g..z
          }
        },
      ]
    }
  ]
}
)
javax.net.ssl|DEBUG|4C|searcherExecutor-8-thread-1-processing-x:alfresco|2023-02-15 16:29:25.048 UTC|ServerHello.java:867|Consuming ServerHello handshake message (
"ServerHello": {
  "server version"      : "TLSv1.2",
  "random"              : "A2 C6 D9 CF F1 EA 18 9E 24 D6 A0 26 4C CD 84 B3 F3 34 1E C7 34 12 B5 C6 97 02 3A AA 51 FE 76 B4",
  "session id"          : "6F 13 F1 16 6C CC 9C 90 BA 7D D0 3F 8E D4 41 5B 13 8D 56 21 47 9C EA ED 30 AA 91 01 5C BF 95 24",
  "cipher suite"        : "TLS_AES_256_GCM_SHA384(0x1302)",
  "compression methods" : "00",
  "extensions"          : [
    "supported_versions (43)": {
      "selected version": [TLSv1.3]
    },
    "key_share (51)": {
      "server_share": {
        "named group": x25519
        "key_exchange": {
          0000: C8 08 EC C2 D9 90 8F F0   BB 60 E0 97 65 E3 B8 A4  .........`..e...
          0010: E0 8A 55 CB 4E B1 24 4A   5A 5C 3A AD D9 8A B4 09  ..U.N.$JZ\:.....
        }
      },
    }
  ]
}
)&lt;/DIV&gt;&lt;/DIV&gt;&lt;/NOSCRIPT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The problem is still: &lt;U&gt;error 403 when solr tries to get data from Alfresco.&lt;/U&gt;&lt;/P&gt;&lt;PRE&gt;2023-02-14 17:07:30.751 ERROR (searcherExecutor-8-thread-1-processing-x:archive) [   x:archive] o.a.s.t.ModelTracker Model tracking failed for core: archive
org.alfresco.error.AlfrescoRuntimeException: 01140000 api/solr/modelsdiff return status:403
	at org.alfresco.solr.client.SOLRAPIClient.callRepository(SOLRAPIClient.java:1598)
	at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1105)&lt;/PRE&gt;&lt;P&gt;I understand that Alfresco refuses to reply to Solr even in MTLS mode ? Why ?&lt;/P&gt;&lt;P&gt;The first script (or so?) called by Solr is aclChangeSets.get, there is a comment in the script explaining why there is no authentication:&lt;/P&gt;&lt;PRE&gt;&amp;lt;!-- Solr api is protected by a solr-specific authentication mechanism --&amp;gt;
&amp;lt;authentication&amp;gt;none&amp;lt;/authentication&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;So, how and where is done this "solr-specific" authetication, that will block Solr in MTLS mode ?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This, in order to understand what I don't do properly.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 19:25:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136300#M36614</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-15T19:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136301#M36615</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;So I answered by myself to the red question with the help of Eclipse and the code, the policy is enforced in X509ServletFilterBase, it depends on the mode:&lt;/P&gt;&lt;P&gt;- in "secret" mode it's about checking the secret in a specific HTTP header (lol).&lt;/P&gt;&lt;P&gt;- in "https" mode the filter checks if there is a certificate in an attribute of the request(javax.servlet.request.X509Certificate). And then verify if it is valid.&lt;/P&gt;&lt;P&gt;But here there is none. certs = null.&lt;/P&gt;&lt;P&gt;So what should I do in order to have this certificate in the request from Solr ?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 21:24:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136301#M36615</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-15T21:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136302#M36616</link>
      <description>&lt;P&gt;Maybe the keystores created by ssl-tool are bad ?&lt;/P&gt;&lt;P&gt;I simply used :&lt;/P&gt;&lt;PRE&gt;./run.sh  -keystorepass ks+xxxxxxx -truststorepass trs+xxxxxxx -encmetadatapass enc+xxxxxxx -encstorepass enc+xxxxxxx&lt;/PRE&gt;&lt;P&gt;and then copied respectively the keystore and trustore found in alfresco and solr to their location.&lt;/P&gt;&lt;P&gt;For solr, I have to put a copy of them under each core else in another location solr complains.&lt;/P&gt;&lt;P&gt;The content of the stores are :&lt;/P&gt;&lt;PRE&gt;&lt;U&gt;keystore:&lt;/U&gt;
Type de fichier de clés : JCEKS
Fournisseur de fichier de clés : SunJCE

Votre fichier de clés d'accès contient 2 entrées

ssl.alfresco.ca, 10 févr. 2023, trustedCertEntry, 
Empreinte du certificat (SHA-256) : 73:58:B4:16:64:C5:69:F6:5A:5C:35:FA:B1:49:66:06:10:43:9F:6D:50:B9:B0:DA:0B:EA:8F:21:30:BB:24:87
ssl.repo.client, 10 févr. 2023, PrivateKeyEntry, 
Empreinte du certificat (SHA-256) : 38:F6:BA:0C:0E:28:7F:B1:D3:A1:68:1C:46:37:56:54:CA:B0:35:87:2C:8E:54:62:DE:C3:E8:7D:45:59:B0:41&lt;/PRE&gt;&lt;PRE&gt;&lt;U&gt;truststore:&lt;/U&gt;
Type de fichier de clés : JCEKS
Fournisseur de fichier de clés : SunJCE

Votre fichier de clés d'accès contient 3 entrées

alfresco.ca, 10 févr. 2023, trustedCertEntry, 
Empreinte du certificat (SHA-256) : 73:58:B4:16:64:C5:69:F6:5A:5C:35:FA:B1:49:66:06:10:43:9F:6D:50:B9:B0:DA:0B:EA:8F:21:30:BB:24:87
ssl.repo, 10 févr. 2023, trustedCertEntry, 
Empreinte du certificat (SHA-256) : C0:3C:23:2F:36:45:02:AD:F4:B4:8F:12:63:44:6E:7F:04:B2:59:DA:C3:20:A0:40:AD:EE:7D:6D:55:2A:77:A1
ssl.repo.client, 10 févr. 2023, trustedCertEntry, 
Empreinte du certificat (SHA-256) : 38:F6:BA:0C:0E:28:7F:B1:D3:A1:68:1C:46:37:56:54:CA:B0:35:87:2C:8E:54:62:DE:C3:E8:7D:45:59:B0:41&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Feb 2023 14:48:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136302#M36616</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-16T14:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136303#M36617</link>
      <description>&lt;P&gt;Another part of the configuration that is involved, Tomcat connector for Solr requests:&lt;/P&gt;&lt;PRE&gt;    &amp;lt;Connector port="8454" protocol="HTTP/1.1"
     SSLEnabled="true" maxThreads="150" scheme="https"
     keystoreFile="/opt/Alfresco/alf_data_7/keystore/ssl.keystore"
     keystorePass="ks+xxxxxxxx" keystoreType="JCEKS"
     secure="true" connectionTimeout="240000"
     truststoreFile="/opt/Alfresco/alf_data_7/keystore/ssl.truststore"
     truststorePass="trs+xxxxxxxx" truststoreType="JCEKS"
     clientAuth="false" sslProtocol="TLS" /&amp;gt;&lt;/PRE&gt;&lt;P&gt;Note that the port is 8454, firstly because on 8443/8444 there is older Tomcat running an old Alfresco 5.0, that works perfectly, secondly because the main SSL port (usually 8443, here 8453) is used for human access with an official domain certificate, so there is a 2nd connector on port 8454 for Solr and its certificates. I don't even understand why all the documentations insist on serving Solr on port 8443, how can it work in a real setup where this port is the standard Tomcat port to serve the user's browsers ?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 09:27:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136303#M36617</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-17T09:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136304#M36618</link>
      <description>&lt;P&gt;I still add information in the hope that someone knowng Alfresco 7 will figure what to do.&lt;/P&gt;&lt;P&gt;As said before, 2 SSL connectors are defined in server.xml, one referencing a keystore will an official certificate, and one with the certificate purposely created to interact with the search services.&lt;/P&gt;&lt;P&gt;They are on different ports and the search services are correctly configured to use the right port.&lt;/P&gt;&lt;P&gt;8453 = connection from a browser, official certificate in its own keystore&lt;/P&gt;&lt;P&gt;8454 = connection from the search services, certificates and keys in the keystore created by ssl-tool and shared with the search services.&lt;/P&gt;&lt;P&gt;This setup works perfectly with Alfresco 5.&lt;/P&gt;&lt;P&gt;If I remove the first connector and keep only the one on port 8454, there is no more the error 403 on the search services log and it seems that Alfresco answers correctly with the change lists.&lt;/P&gt;&lt;P&gt;What should I do to both give access to the search services, and let the users access Alfresco on port 8453 ?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 13:25:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136304#M36618</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-17T13:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136305#M36619</link>
      <description>&lt;P&gt;Did you try setting expected port in solrcore.properties file?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/SearchServices/blob/master/search-services/alfresco-search/src/main/resources/solr/instance/templates/rerank/conf/solrcore.properties#L25" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/SearchServices/blob/master/search-services/alfresco-search/src/main/resources/solr/instance/templates/rerank/conf/solrcore.properties#L25&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;alfresco.port.ssl=8454&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Feb 2023 08:53:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136305#M36619</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-02-20T08:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136306#M36620</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Yes, I did. Else it would not work at all when I remove the other connector (for browser access). BTW Solr creates this file in the core directory which helps settings keys, although in messy order, 1st thing I did is order alphabetically the properties file to find the keys in my text editor and avoid duplicates.&lt;/P&gt;&lt;P&gt;So it appears that I set&lt;/P&gt;&lt;PRE&gt;clientAuth="false"&lt;/PRE&gt;&lt;P&gt;in the Connector tag (see message with the Connector data) which is the culprit here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The advised value in one of your documentations was "want". I guess that among all tries and errors and various posts I put false at some time, my bad. It is very consistent with the fact that Tomcat didn't provide the certificate data to Alfresco.&amp;nbsp; However I found that if I set clientAuth="required" (as per Tomcat 9 documentation), it looks like it works too. Maybe.&lt;/P&gt;&lt;P&gt;Now Solr is indexing, I checked with the admin tool that it does and that I can find my documents from there.&lt;/P&gt;&lt;P&gt;However Alfresco doesn't find nothing, and the transform service doesn't work either (hence text indexing doesn't work) although I tried to follow the 20 pages tutorial you quoted but that's another story, I have first to investigate by myslelf.&lt;/P&gt;&lt;P&gt;Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 13:46:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136306#M36620</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-21T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136307#M36621</link>
      <description>&lt;P&gt;You can always try Docker Compose for reference configuration:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/alfresco/alfresco-docker-installer" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/alfresco/alfresco-docker-installer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/aborroy/alfresco-installer" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/aborroy/alfresco-installer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Despite you are not deploying in Docker and so on... just to read expected configuration from a running environment.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 14:41:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136307#M36621</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-02-21T14:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136308#M36622</link>
      <description>&lt;P&gt;Thank you for the advice, so I went there and browsed the project and found the installation script where they set up the solr SSL port and see how it's done. Yet another parameter that was set correctly in my configuration during the 1st pass and then messed when nothing was working...&lt;/P&gt;&lt;P&gt;Also I fixed the problem with transform services, which was a small mistake in alfresco-global.properties. I don't know if all transforms work, but at least I get thumbnails of PDF or Office files and full text search works.&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 14:45:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136308#M36622</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-22T14:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a consistent documentation to setup search services and keystores ? Or source for 2.0.5</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136309#M36623</link>
      <description>&lt;P&gt;Great you have it working!&lt;/P&gt;
&lt;P&gt;Thanks for completing the thread with the feedback.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 14:49:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-there-a-consistent-documentation-to-setup-search-services-and/m-p/136309#M36623</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-02-22T14:49:07Z</dc:date>
    </item>
  </channel>
</rss>

