I've configured SolrCloud (8.5) with both SSL and Authentication which is 
working correctly. However, I get the following warning in the logs
 
Solr authentication is enabled, but SSL is off. Consider enabling SSL to 
protect user credentials and data with encryption
 
Looking at the source code for SolrCloud there appears to be a bug
if (authenticationPlugin !=null && 
StringUtils.isNotEmpty(System.getProperty("solr.jetty.https.port"))) {

log.warn("Solr authentication is enabled, but SSL is off.  Consider enabling 
SSL to protect user credentials and data with encryption.");

}
 
Rather than checking for an empty system property (which would indicate SLL is 
off) its checking for a populated one which is what you get when SSL is on.
 
Should I raise this as a Jira bug?
 
Mark ToddUnless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Reply via email to