surendralilhore opened a new pull request, #471:
URL: https://github.com/apache/incubator-livy/pull/471

   ## What changes were proposed in this pull request?
   
   Use SslContextFactory.Server() instead of SslContextFactory() when 
constructing the factory.
   
   ## How was this patch tested?
   
   With Jetty 9.4.50, we should call SslContextFactory.Server(), instead of 
SslContextFactory(), to create SslContextFactory. Otherwise we get the 
following error when using a KeyStore with multiple certificates in it.
   
   ```
   Exception in thread "main" java.lang.IllegalStateException: KeyStores with 
multiple certificates are not supported on the base class 
org.eclipse.jetty.util.ssl.SslContextFactory. (Use org.eclipse.jetty.util.ssl.
   SslContextFactory$Server or 
org.eclipse.jetty.util.ssl.SslContextFactory$Client instead)
   at 
org.eclipse.jetty.util.ssl.SslContextFactory.newSniX509ExtendedKeyManager(SslContextFactory.java:1289)
   ```
   
   Please review https://livy.incubator.apache.org/community/ before opening a 
pull request.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to