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

Naveen Gangam commented on HIVE-27952:
--------------------------------------

Jetty's SslContextFactory has been split for Client/Server classes via 
https://github.com/jetty/jetty.project/pull/3480.

Fix has been merged to master. Thank you for the patch [~seonggon]

> Hive fails to create SslContextFactory when KeyStore has multiple certificates
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-27952
>                 URL: https://issues.apache.org/jira/browse/HIVE-27952
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0-beta-1
>            Reporter: Seonggon Namgung
>            Assignee: Seonggon Namgung
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> With Jetty 9.4.40, 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}
> Caused by: 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) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to