Class InternalRestServerSSL

java.lang.Object
io.confluent.rest.InternalRestServerSSL

public class InternalRestServerSSL extends Object
Helper class for setting up SSL for InternalRestServer Duplicated from connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/util/SSLUtils.java
  • Constructor Details

    • InternalRestServerSSL

      public InternalRestServerSSL()
  • Method Details

    • createServerSideSslContextFactory

      public static org.eclipse.jetty.util.ssl.SslContextFactory.Server createServerSideSslContextFactory(org.apache.kafka.common.config.AbstractConfig config, String prefix)
      Configures SSL/TLS for HTTPS Jetty Server using configs with the given prefix
    • useBcfks

      public static boolean useBcfks(Map<String,Object> sslConfigValues, String securityProviders)
    • setSecurityStoreProps

      public static void setSecurityStoreProps(org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory, Map<String,Object> sslConfigValues, boolean isKeyStore, boolean useBcfksStore, boolean setPathOnly)