This seems to have been introduced in 
https://issues.apache.org/jira/browse/SOLR-13972 in 8.4
That test seems to be inverted for sure. 

Jason?

Jan

> 5. aug. 2020 kl. 13:15 skrev Mark Todd1 <mark_t...@uk.ibm.com>:
> 
> 
> 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