Apache Lucene open-source search software
SOLR-14412 only set ssl props when ssl enabled
Mike Drob0fc5179c6a72
diff --git a/solr/bin/solr b/solr/bin/solrindex 9711dbd6610..27e625f7ee5 100755--- a/solr/bin/solr+++ b/solr/bin/solr@@ -2142,7 +2142,7 @@ function start_solr() {fi# If SSL-related system props are set, add them to SOLR_OPTS- if [ "$SOLR_SSL_ENABLED" ]; then+ if [ "$SOLR_SSL_ENABLED" == "true" ]; then# If using SSL and solr.jetty.https.port not set explicitly, use the jetty.portSSL_PORT_PROP="-Dsolr.jetty.https.port=$SOLR_PORT"SOLR_OPTS+=($SOLR_SSL_OPTS "$SSL_PORT_PROP")