cancel
Showing results for 
Search instead for 
Did you mean: 

Solr: cannot authenticate with provided credentials

eleanor
Champ in-the-making
Champ in-the-making
Hi,

I tried accessing https://alfresco:8443/solr/ in my web browser after importing the client certificate from alfresco-4.2.f/alf_data/keystore/browser.p12 into my browser. The SSL session has been established, but the following is printed in my web browser:

HTTP Status 401 - Cannot authenticate with the provided credentials
type Status report
message Cannot authenticate with the provided credentials
description This request requires HTTP authentication.
Apache Tomcat/7.0.52

Any ideas about the problem?
3 REPLIES 3

eleanor
Champ in-the-making
Champ in-the-making
Any ideas anyone?

eleanor
Champ in-the-making
Champ in-the-making
Any ideas anyone?

borzoi
Champ in-the-making
Champ in-the-making
In welcome documentation for all new Alfresco users there's an "Alfresco One 5.0 - Administering Alfresco" PDF guide. Check "Connecting to the SSL-protected Solr 4 web application", page 199. In particular:
- did you specify password (default: "alfresco") when importing the browser .p12 certificate?
- did you restart your browser?

Also, check page 206, "Solr 4 troubleshooting for SSL configurations", in particular: does your Java version support renegoziating the SSL connection?
Anyway, in your browser you should type http://alfresco:8080/solr4/ and let it redirect to https://alfresco:8443/solr4/.