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

Http2SolrClient SSL not working in branch_8x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 8.5
    • None
    • None
    • None

    Description

      In branch_8x we upgraded to Jetty 9.4.24. This causes the following exceptions when attempting to start server with SSL:

      2019-12-17 14:46:16.646 ERROR (main) [   ] o.a.s.c.SolrCore null:org.apache.solr.common.SolrException: Error instantiating shardHandlerFactory class [HttpShardHandlerFactory]: java.lang.UnsupportedOperationException: X509ExtendedKeyManager only supported on Server
      	at org.apache.solr.handler.component.ShardHandlerFactory.newInstance(ShardHandlerFactory.java:56)
      	at org.apache.solr.core.CoreContainer.load(CoreContainer.java:633)
      ...
      Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: X509ExtendedKeyManager only supported on Server
      	at org.apache.solr.client.solrj.impl.Http2SolrClient.createHttpClient(Http2SolrClient.java:224)
      	at org.apache.solr.client.solrj.impl.Http2SolrClient.<init>(Http2SolrClient.java:154)
      	at org.apache.solr.client.solrj.impl.Http2SolrClient$Builder.build(Http2SolrClient.java:833)
      	at org.apache.solr.handler.component.HttpShardHandlerFactory.init(HttpShardHandlerFactory.java:321)
      	at org.apache.solr.handler.component.ShardHandlerFactory.newInstance(ShardHandlerFactory.java:51)
      	... 50 more
      Caused by: java.lang.UnsupportedOperationException: X509ExtendedKeyManager only supported on Server
      	at org.eclipse.jetty.util.ssl.SslContextFactory.newSniX509ExtendedKeyManager(SslContextFactory.java:1273)
      	at org.eclipse.jetty.util.ssl.SslContextFactory.getKeyManagers(SslContextFactory.java:1255)
      	at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:374)
      	at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:245)
       

      Attachments

        1. SOLR-14105.patch
          17 kB
          Kevin Risden

        Issue Links

          Activity

            People

              krisden Kevin Risden
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: