[ https://issues.apache.org/jira/browse/SOLR-15046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249157#comment-17249157 ]
ASF subversion and git services commented on SOLR-15046: -------------------------------------------------------- Commit 99709cca59b06a741ba8aebc3418028f1da9aace in lucene-solr's branch refs/heads/branch_8x from Timothy Potter [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=99709cc ] SOLR-15046: Check if SOLR_SSL_ENABLED strictly equal to true for setting solr.jetty.https.port (#2145) > bin/solr check to see if solr.jetty.https.port should be set always returns > true > -------------------------------------------------------------------------------- > > Key: SOLR-15046 > URL: https://issues.apache.org/jira/browse/SOLR-15046 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: scripts and tools > Affects Versions: 8.8 > Reporter: Timothy Potter > Assignee: Timothy Potter > Priority: Minor > Fix For: 8.8 > > Time Spent: 20m > Remaining Estimate: 0h > > This always returns {{true}} on Mac OS X (not sure about Linux): > {code} > if [ "$SOLR_SSL_ENABLED" ]; then > # If using SSL and solr.jetty.https.port not set explicitly, use the > jetty.port > SSL_PORT_PROP="-Dsolr.jetty.https.port=$SOLR_PORT" > SOLR_OPTS+=($SOLR_SSL_OPTS "$SSL_PORT_PROP") > fi > {code} > On master, we do {{if [ "$SOLR_SSL_ENABLED" == "true" ]; then}} > The problem is that ZkContainer (when zkRun enabled) looks to see if > {{solr.jetty.https.port}} is set, and if so, then it assumes TLS is enabled. > So this little BASH bug causes Solr's HttpShardHandler to connect via https. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org