[
https://issues.apache.org/jira/browse/LIVY-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyorgy Gal resolved LIVY-1012.
------------------------------
Resolution: Fixed
> 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
> Priority: Critical
> Fix For: 0.9.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)