Surendra Singh Lilhore created LIVY-1012: --------------------------------------------
Summary: Use SslContextFactory.Server() instead of SslContextFactory Key: LIVY-1012 URL: https://issues.apache.org/jira/browse/LIVY-1012 Project: Livy Issue Type: Bug Components: Server Affects Versions: 0.5.0 Reporter: Surendra Singh Lilhore 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. {code:java} 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){code} -- This message was sent by Atlassian Jira (v8.20.10#820010)