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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.0
    • 7.4
    • None
    • 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
          Chris M. Hostetter
        8. SOLR-9304.patch
          39 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: