Seonggon Namgung created HIVE-27952:
---------------------------------------
Summary: 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
Reporter: Seonggon Namgung
Assignee: Seonggon Namgung
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)