You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Gyorgy Gal (Jira)" <ji...@apache.org> on 2025/04/24 07:56:00 UTC

[jira] [Assigned] (LIVY-1012) Use SslContextFactory.Server() instead of SslContextFactory

     [ https://issues.apache.org/jira/browse/LIVY-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gyorgy Gal reassigned LIVY-1012:
--------------------------------

    Assignee: Surendra Singh Lilhore

> 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
>            Assignee: Surendra Singh Lilhore
>            Priority: Critical
>             Fix For: 0.9.0
>
>          Time Spent: 40m
>  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)