Solr
  1. Solr
  2. SOLR-6982

bin/solr and SolrCLI should support SSL-related Java System Properties

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: scripts and tools
    • Labels:
      None

      Description

      SolrCLI is used by bin/solr to create collections, run a healthcheck, and get system info. If Solr is running in SSL mode, then these actions won't work unless the proper SSL-related Java system properties are set.

      1. SOLR-6982.patch
        16 kB
        Timothy Potter

        Activity

        Hide
        Timothy Potter added a comment -

        Here's a patch that supports the process documented in the ref guide: https://cwiki.apache.org/confluence/display/solr/Enabling+SSL

        The only issue is the SolrCLI app needs absolute paths to the keystore files set in the Java system properties. I'm thinking it would be better to pass a prop to that class that allows it to find the keystore files using the relative paths.

        Show
        Timothy Potter added a comment - Here's a patch that supports the process documented in the ref guide: https://cwiki.apache.org/confluence/display/solr/Enabling+SSL The only issue is the SolrCLI app needs absolute paths to the keystore files set in the Java system properties. I'm thinking it would be better to pass a prop to that class that allows it to find the keystore files using the relative paths.
        Hide
        ASF subversion and git services added a comment -

        Commit 1652208 from Timothy Potter in branch 'dev/trunk'
        [ https://svn.apache.org/r1652208 ]

        SOLR-6982: bin/solr and SolrCLI should support SSL-related Java System Properties

        Show
        ASF subversion and git services added a comment - Commit 1652208 from Timothy Potter in branch 'dev/trunk' [ https://svn.apache.org/r1652208 ] SOLR-6982 : bin/solr and SolrCLI should support SSL-related Java System Properties
        Hide
        ASF subversion and git services added a comment -

        Commit 1652210 from Timothy Potter in branch 'dev/trunk'
        [ https://svn.apache.org/r1652210 ]

        SOLR-6982: remove bad search/replace issue

        Show
        ASF subversion and git services added a comment - Commit 1652210 from Timothy Potter in branch 'dev/trunk' [ https://svn.apache.org/r1652210 ] SOLR-6982 : remove bad search/replace issue
        Hide
        ASF subversion and git services added a comment -

        Commit 1652213 from Timothy Potter in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1652213 ]

        SOLR-6982: bin/solr and SolrCLI should support SSL-related Java System Properties

        Show
        ASF subversion and git services added a comment - Commit 1652213 from Timothy Potter in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1652213 ] SOLR-6982 : bin/solr and SolrCLI should support SSL-related Java System Properties
        Hide
        ASF subversion and git services added a comment -

        Commit 1652217 from Timothy Potter in branch 'dev/branches/lucene_solr_5_0'
        [ https://svn.apache.org/r1652217 ]

        SOLR-6982: bin/solr and SolrCLI should support SSL-related Java System Properties

        Show
        ASF subversion and git services added a comment - Commit 1652217 from Timothy Potter in branch 'dev/branches/lucene_solr_5_0' [ https://svn.apache.org/r1652217 ] SOLR-6982 : bin/solr and SolrCLI should support SSL-related Java System Properties
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          People

          • Assignee:
            Timothy Potter
            Reporter:
            Timothy Potter
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development