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

Use default Java SslContextFactory for HTTP2 when no system properties are given

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0
    • 9.2
    • SolrJ
    • None

    Description

      Both the Apache and Jetty Http client libraries are capable of defaulting to the Java truststores when no system properties are provided. However, when cleaning up logging in SOLR-15936 the Http2SolrClient no longer used an SSLContextFactory when the system properties were not used. This is a regression for users that use the built-in truststore.

       

      Ideally we would be able to use both the default truststore and not give extra (useless) logging. If choosing one or the other, I think we should choose using the default truststore though.

      Attachments

        1. image-2023-03-24-23-07-02-247.png
          150 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              houston Houston Putman
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h