Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9304

SOLR_SSL_CHECK_PEER_NAME=false (aka -Dsolr.ssl.checkPeerName=false) has no effect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0
    • Fix Version/s: 7.4
    • Component/s: None
    • Labels:
      None

      Description

      -Dsolr.ssl.checkPeerName=false is completely ignored on master...

      hossman@tray:~/lucene/dev/solr [master] $ find -name \*.java | xargs grep checkPeerName
      ./solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java:  public static final String SYS_PROP_CHECK_PEER_NAME = "solr.ssl.checkPeerName";
      hossman@tray:~/lucene/dev/solr [master] $ find -name \*.java | xargs grep SYS_PROP_CHECK_PEER_NAME
      ./test-framework/src/java/org/apache/solr/util/SSLTestConfig.java:      boolean sslCheckPeerName = toBooleanDefaultIfNull(toBooleanObject(System.getProperty(HttpClientUtil.SYS_PROP_CHECK_PEER_NAME)), true);
      ./solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java:  public static final String SYS_PROP_CHECK_PEER_NAME = "solr.ssl.checkPeerName";
      

        Attachments

        1. SOLR-9304-uses-deprecated.patch
          1 kB
          Shawn Heisey
        2. SOLR-9304.patch
          2 kB
          Shawn Heisey
        3. SOLR-9304.patch
          12 kB
          Carlton Findley
        4. SOLR-9304.patch
          12 kB
          Shawn Heisey
        5. SOLR-9304.patch
          13 kB
          Shawn Heisey
        6. SOLR-9304.patch
          13 kB
          Robby Pond
        7. SOLR-9304.patch
          34 kB
          Hoss Man
        8. SOLR-9304.patch
          39 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                hossman Hoss Man
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: