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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.patch
          39 kB
          Chris M. Hostetter
        2. SOLR-9304.patch
          34 kB
          Chris M. Hostetter
        3. SOLR-9304.patch
          13 kB
          Robby Pond
        4. SOLR-9304.patch
          13 kB
          Shawn Heisey
        5. SOLR-9304.patch
          12 kB
          Shawn Heisey
        6. SOLR-9304.patch
          12 kB
          Carlton Findley
        7. SOLR-9304.patch
          2 kB
          Shawn Heisey
        8. SOLR-9304-uses-deprecated.patch
          1 kB
          Shawn Heisey

        Issue Links

          Activity

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              hossman Chris M. Hostetter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment