[ 
https://issues.apache.org/jira/browse/LIVY-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17946917#comment-17946917
 ] 

Surendra Singh Lilhore commented on LIVY-1012:
----------------------------------------------

[~gyogal] , pls can you assign this Jira to me.

> 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: 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)

Reply via email to