CFADMIN Solr Basic Authentication
I am trying to use basic authentication with Solr and ColdFusion but am running into 2 issues.
I have done the following:
- Create a security.json file (https://solr.apache.org/guide/7_2/basic-authentication-plugin.html).
- Put the security.json file in the C:\ColdFusionAdd-onServices\multicore directory of the ColdFusion server (ColdFusion 2021).
- Restart the ColdFusion 2021 Add-on Service service.
- Login to the CFADMIN.
- Click the Data & Services icon on the left.
- Click the Solr Server link in the top navigation.
- Under Advanced Settings enter the credentials from the security.json file into the User name and Password fields.
- Click the Submit Changes button.
Issue 1: The collections are not available in CFADMIN > Data & Services > ColdFusion Collections. The error is:
Unable to retrieve collections from the Search Services. Ensure that you have installed ColdFusion Search Service and it is running.
Issue 2: When I try to reindex collections the cfcatch detail and message are:
It has been configured as http://localhost:8993/solr. SOLR server is not accessible.
So it seems like CFADMIN is not correctly authenticating to Solr.
Anyone have any thoughts?
Thanks in advance.
