Class SslContextFactoryConfigurator
java.lang.Object
org.apache.drill.exec.server.rest.ssl.SslContextFactoryConfigurator
Configures
SslContextFactory
when https is enabled for Web UI-
Constructor Summary
ConstructorDescriptionSslContextFactoryConfigurator
(DrillConfig config, String drillbitEndpointAddress) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.util.ssl.SslContextFactory.Server
Tries to apply ssl options configured by user.
-
Constructor Details
-
SslContextFactoryConfigurator
-
-
Method Details
-
configureNewSslContextFactory
public org.eclipse.jetty.util.ssl.SslContextFactory.Server configureNewSslContextFactory() throws ExceptionTries to apply ssl options configured by user. If provided configuration isn't valid, new self-signed certificate will be generated and used in sslContextFactory.- Returns:
- new configured sslContextFactory
- Throws:
Exception
- when generation of self-signed certificate failed
-